In soapui.bat I modify the JAVA_OPTS as follow:
set JAVA_OPTS=-d64 -Xms512m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" -splash:SoapUI-Spashscreen.png
Nothing change. After the PermGen spce error I create a dump file with the command:
jmap.exe -J-d64 -dump:format=b,file="C:\Max\Dump\dump_soapui" <pid>
With Eclipse Memory Analizer I have the following leaks:
2.908 instances of "com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep", loaded by "sun.misc.Launcher$AppClassLoader @ 0xe0192260" occupy 67.045.640 (35,76%) bytes. These instances are referenced from one instance of "java.util.HashMap$Entry[]", loaded by "<system class loader>"
Keywords
sun.misc.Launcher$AppClassLoader @ 0xe0192260
java.util.HashMap$Entry[]
com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep
701 instances of "groovy.lang.MetaClassImpl", loaded by "sun.misc.Launcher$AppClassLoader @ 0xe0192260" occupy 20.116.784 (10,73%) bytes.
Keywords
groovy.lang.MetaClassImpl
sun.misc.Launcher$AppClassLoader @ 0xe0192260
16.366 instances of "java.lang.String", loaded by "<system class loader>" occupy 18.764.088 (10,01%) bytes.
Keywords
java.lang.String