cancel
Showing results for 
Search instead for 
Did you mean: 

Out of Memory Error

Highlighted
Super Contributor

Out of Memory Error

Hello,
I downloaded the new soapUI 1.7.1 and it did fix quiet a few issues. I ran into a 'outofmemory' issue and thought I'd send it to you for reference. I saw this error when I was trying to import a project.

        at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDoc
ument.getTypeSystem(ResponseXmlDocument.java:81)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDoc
ument.getTypeSystem(ResponseXmlDocument.java:81)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.RequestXmlDocu
ment.getTypeSystem(RequestXmlDocument.java:59)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.setXmlDocument(AbstractEditorView.java:119)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEdit
or.addEditorView(XmlEditor.java:181)
        at com.eviware.soapui.impl.wsdl.panels.request.components.RequestMessage
XmlEditor.(RequestMessageXmlEditor.java:40)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel$WsdlRequestMessageEditor.(AbstractWsdlRequestDesktopPanel.java:580)

        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.buildRequestEditor(AbstractWsdlRequestDesktopPanel.java:485)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.buildRequestEditor(WsdlTestRequestDesktopPanel.java:132)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.buildContent(AbstractWsdlRequestDesktopPanel.java:245)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.buildContent(WsdlTestRequestDesktopPanel.java:118)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.init(AbstractWsdlRequestDesktopPanel.java:161)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.(WsdlTestRequestDesktopPanel.java:66)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestPanelBui
lder.buildDesktopPanel(WsdlTestRequestPanelBuilder.java:38)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestPanelBui
lder.buildDesktopPanel(WsdlTestRequestPanelBuilder.java:30)
        at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDeskto
pPanel(StandaloneDesktop.java:178)
        at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:
404)
        at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:398
)
        at com.eviware.soapui.model.support.AbstractModelItem$ShowModelItemActio
n.actionPerformed(AbstractModelItem.java:125)
        at com.eviware.soapui.support.action.DefaultActionList.performDefaultAct
ion(DefaultActionList.java:98)
        at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Naviga
tor.java:186)
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDoc
ument.getTypeSystem(ResponseXmlDocument.java:81)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.setXmlDocument(AbstractEditorView.java:119)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEdit
or.addEditorView(XmlEditor.java:181)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseMessag
eXmlEditor.(ResponseMessageXmlEditor.java:40)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel$WsdlResponseMessageEditor.(AbstractWsdlRequestDesktopPanel.java:599
)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.buildResponseEditor(AbstractWsdlRequestDesktopPanel.java:480)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.buildResponseEditor(WsdlTestRequestDesktopPanel.java:138)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.buildContent(AbstractWsdlRequestDesktopPanel.java:246)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.buildContent(WsdlTestRequestDesktopPanel.java:118)
        at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDeskto
pPanel.init(AbstractWsdlRequestDesktopPanel.java:161)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestDesktopP
anel.(WsdlTestRequestDesktopPanel.java:66)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestPanelBui
lder.buildDesktopPanel(WsdlTestRequestPanelBuilder.java:38)
        at com.eviware.soapui.impl.wsdl.panels.teststeps.WsdlTestRequestPanelBui
lder.buildDesktopPanel(WsdlTestRequestPanelBuilder.java:30)
        at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDeskto
pPanel(StandaloneDesktop.java:178)
        at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:
404)
        at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:398
)
        at com.eviware.soapui.model.support.AbstractModelItem$ShowModelItemActio
n.actionPerformed(AbstractModelItem.java:125)
        at com.eviware.soapui.support.action.DefaultActionList.performDefaultAct
ion(DefaultActionList.java:98)
        at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Naviga
tor.java:186)
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.RequestXmlDocu
ment.getTypeSystem(RequestXmlDocument.java:59)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.RequestXmlDocu
ment.getTypeSystem(RequestXmlDocument.java:59)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDoc
ument.getTypeSystem(ResponseXmlDocument.java:81)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
java.lang.NullPointerException
        at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSy
stem(WsdlContext.java:265)
        at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDoc
ument.getTypeSystem(ResponseXmlDocument.java:81)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.setXml(SourceFile:205)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
.AbstractEditorView.activate(AbstractEditorView.java:49)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.XmlOutlineEditorView.activate(SourceFile:154)
        at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.o
utline.SourceEditorCaretUpdater$1.run(SourceFile:63)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
19:17:26,793 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateCustomGrid\Cre
ateCustomGridSU.xml - 1000438 bytes
19:17:26,808 INFO  [WorkspaceImpl] Saved workspace to [C:\Documents and Settings
\ARaza.TVGUIDE\default-soapui-workspace.xml]
19:17:40,356 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateCustomGrid\Cre
ateCustomGridSU.xml - 1000438 bytes
19:17:40,356 INFO  [WorkspaceImpl] Saved workspace to [C:\Documents and Settings
\ARaza.TVGUIDE\default-soapui-workspace.xml]
19:19:21,421 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateCustomGrid\Cre
ateCustomGridSU.xml - 1000438 bytes
19:19:27,937 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateCustomGrid\Cre
ateCustomGridSU.xml - 1000438 bytes
19:19:55,626 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateDeviceLocaliza
tion\CreateDeviceLocalizationSU.xml - 1000438 bytes
19:19:55,626 INFO  [WorkspaceImpl] Saved workspace to [C:\Documents and Settings
\ARaza.TVGUIDE\default-soapui-workspace.xml]
19:20:22,783 INFO  [WsdlProject] Saved project [CreateCustomGrid] to [C:\WorkSpa
ce\QA\Automation\QTPscripts\Phase2\ListingPreferenceService\CreateDeviceLocaliza
tion\CreateDeviceLocalizationSU.xml - 1000446 bytes
19:24:15,759 INFO  [WsdlProject] Loaded project from [C:\WorkSpace\QA\Automation
\QTPscripts\Phase2\ListingPreferenceService\CreateDeviceLocalization\CreateDevic
eLocalizationSU.xml]
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.eviware.soapui.support.log.JLogList$LogListModel.run(JLogList.jav
a:410)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
4 REPLIES 4
Highlighted
Super Contributor

Re: Out of Memory Error

Hi!

hmm.. try increasing the memory settings for soapUI by editing your soapui-pro.bat file and changing the row

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m

to

set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx512m

or maybe even

set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m

if you have 2 gb ram in your machine..

Hope this helps, post again otherwise!

regards,

/Ole
eviware.com
Highlighted
Contributor

Re: Out of Memory Error

hi,

I have the same problem.

I have changed the memory settings, but it didn't resolve the problem.

Can i try something else to solve the problem ?
Highlighted
Super Contributor

Re: Out of Memory Error

Hi!

hmm.. some questions for you:

1) What soapUI Pro version are you running?
2) Do you get the error at any specific situations? (ie loadtesting, importing, etc..)
3) Do you have any stack-traces in the soapUI console window?
4) Can you please mail me:
- your memory settings
- the output of the Help/System Properties window
- the eventual project file that gives you the out-of-memory error
-> mail to ole@eviware.com

Thanks!

/Ole
eviware.com
Highlighted
Contributor

Re: Out of Memory Error

Ole,

- I have the version 1.7.1 of SoapUI Pro
- I have this problem when i receive a large result response of a soap request.

see mail from for more information.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors