Forum Discussion
Garry
13 years agoOccasional Contributor
Thank you for info.
Sorry, I cannot provide project, but I will send you error log. I previously noticed, that out of memory error rises when large responses are coming from server, so I set soapui preferences as following:
1. UI Settings - Garbage Collection Interval - 20
2. over TestCase Options - Discards successful TestStep results to preserve memory = true
Is there any other option I could try to set to prevent out of memory error?
Currently, I have tried following:
1. import project about 4,4 MB size to soapui and run all packages, it worked fine. I saw in task manager soapui consumes 1,13 MB
2. import project about 8,4 MB size to saopui and run all packages, it didn't work at all. I saw in task manager soapui consumes 1,17 MB.
I've got instant alert window "Exit without saving?" and Perm gen space error in soapui error log:
2012-12-04 09:40:36,401 ERROR [errorlog] java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
2012-12-04 09:40:36,447 ERROR [errorlog] java.lang.Exception: java.lang.OutOfMemoryError: PermGen space
java.lang.Exception: java.lang.OutOfMemoryError: PermGen space
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:162)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:115)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.loadIfNecessary(AbstractDefinitionContext.java:91)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.getInterfaceDefinition(AbstractDefinitionContext.java:79)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getDefinition(WsdlContext.java:71)
at com.eviware.soapui.impl.wsdl.WsdlOperation.getBindingOperation(WsdlOperation.java:754)
at com.eviware.soapui.impl.coverage.WsdlOperationCoverage.<init>(SourceFile:47)
at com.eviware.soapui.impl.coverage.WsdlInterfaceCoverage.<init>(SourceFile:41)
at com.eviware.soapui.impl.coverage.ProjectCoverage.a(SourceFile:192)
at com.eviware.soapui.impl.coverage.ProjectCoverage.c(SourceFile:162)
at com.eviware.soapui.impl.coverage.ProjectCoverage.<init>(SourceFile:133)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.a(SourceFile:83)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.addTabs(SourceFile:73)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildTabs(WsdlProjectTestSuitesTabPanel.java:196)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildContent(WsdlProjectTestSuitesTabPanel.java:100)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildUI(WsdlProjectTestSuitesTabPanel.java:93)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.<init>(WsdlProjectTestSuitesTabPanel.java:80)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.<init>(SourceFile:65)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.buildTestSuitesTab(SourceFile:114)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.addTabs(WsdlProjectDesktopPanel.java:114)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.addTabs(SourceFile:52)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.buildTabbedPane(WsdlProjectDesktopPanel.java:107)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.<init>(WsdlProjectDesktopPanel.java:99)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.<init>(SourceFile:46)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:34)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:20)
at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:214)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:590)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:578)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:408)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Caused by: java.lang.OutOfMemoryError: PermGen space
Regards,
JJ
Sorry, I cannot provide project, but I will send you error log. I previously noticed, that out of memory error rises when large responses are coming from server, so I set soapui preferences as following:
1. UI Settings - Garbage Collection Interval - 20
2. over TestCase Options - Discards successful TestStep results to preserve memory = true
Is there any other option I could try to set to prevent out of memory error?
Currently, I have tried following:
1. import project about 4,4 MB size to soapui and run all packages, it worked fine. I saw in task manager soapui consumes 1,13 MB
2. import project about 8,4 MB size to saopui and run all packages, it didn't work at all. I saw in task manager soapui consumes 1,17 MB.
I've got instant alert window "Exit without saving?" and Perm gen space error in soapui error log:
2012-12-04 09:40:36,401 ERROR [errorlog] java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
2012-12-04 09:40:36,447 ERROR [errorlog] java.lang.Exception: java.lang.OutOfMemoryError: PermGen space
java.lang.Exception: java.lang.OutOfMemoryError: PermGen space
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:162)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:115)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.loadIfNecessary(AbstractDefinitionContext.java:91)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.getInterfaceDefinition(AbstractDefinitionContext.java:79)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getDefinition(WsdlContext.java:71)
at com.eviware.soapui.impl.wsdl.WsdlOperation.getBindingOperation(WsdlOperation.java:754)
at com.eviware.soapui.impl.coverage.WsdlOperationCoverage.<init>(SourceFile:47)
at com.eviware.soapui.impl.coverage.WsdlInterfaceCoverage.<init>(SourceFile:41)
at com.eviware.soapui.impl.coverage.ProjectCoverage.a(SourceFile:192)
at com.eviware.soapui.impl.coverage.ProjectCoverage.c(SourceFile:162)
at com.eviware.soapui.impl.coverage.ProjectCoverage.<init>(SourceFile:133)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.a(SourceFile:83)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.addTabs(SourceFile:73)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildTabs(WsdlProjectTestSuitesTabPanel.java:196)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildContent(WsdlProjectTestSuitesTabPanel.java:100)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildUI(WsdlProjectTestSuitesTabPanel.java:93)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.<init>(WsdlProjectTestSuitesTabPanel.java:80)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.<init>(SourceFile:65)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.buildTestSuitesTab(SourceFile:114)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.addTabs(WsdlProjectDesktopPanel.java:114)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.addTabs(SourceFile:52)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.buildTabbedPane(WsdlProjectDesktopPanel.java:107)
at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.<init>(WsdlProjectDesktopPanel.java:99)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.<init>(SourceFile:46)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:34)
at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:20)
at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:214)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:590)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:578)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:408)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Caused by: java.lang.OutOfMemoryError: PermGen space
Regards,
JJ
Related Content
- 11 years ago
- 12 years ago
- 10 years ago
Recent Discussions
- 23 days ago