Forum Discussion

LZhang's avatar
LZhang
Frequent Contributor
18 years ago

Memory leak in SoapUI 2.0.2 Pro

Hi:

I have seen the following pretty often in soapUI 2.0.2 Pro (the latest version).  My memory setting is
rem JVM parameters, modify as appropriate
set JAVA_OPTS=%JAVA_OPTS% -Xms768m -Xmx1350m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1

Do you know why the memory leak happens so often (every 15 to 30 mins)?  All the previous versions were not exhibiting this problem on my machine before.

Thanks,
Li


16:04:13,538 INFO  [WsdlProject] Saved project [Search] to [C:\Workspace\QA\Auto
mation\soapUI_Scripts\Phase4.0\Integration_Environment\SearchService\Search-soap
ui-project.xml - 65234 bytes
16:04:13,538 INFO  [WorkspaceImpl] Saved workspace to [C:\Workspace\QA\Automatio
n\soapUI_Scripts\Phase4.0\Integration_Environment\Integration4.0_Li-workspace.xm
l]
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Inde
x: 20, Size: 20
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.getTestStepAt(Wsdl
TestCase.java:346)
        at com.eviware.soapui.impl.wsdl.panels.testcase.TestStepList$TestStepLis
tModel.getElementAt(TestStepList.java:271)
        at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
        at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Sou
rce)
        at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
        at javax.swing.JComponent.getPreferredSize(Unknown Source)
        at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
        at java.awt.Container.preferredSize(Unknown Source)
        at java.awt.Container.getPreferredSize(Unknown Source)
        at javax.swing.JComponent.getPreferredSize(Unknown Source)
        at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
        at java.awt.Container.layout(Unknown Source)
        at java.awt.Container.doLayout(Unknown Source)
        at java.awt.Container.validateTree(Unknown Source)
        at java.awt.Container.validate(Unknown Source)
        at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)