Forum Discussion

Awesome's avatar
Awesome
Frequent Contributor
16 years ago

Re: java.lang.OutOfMemoryError

hi,

I seem to get these out of mem errors if i leave my project open ~ 1 hour.

any solutions or adjustments i can make to java?

thanks.

----
17:52:48,748 INFO  [AbstractHttpRequestDesktopPanel] Got response for [SoapBinding.Update:Update - R
EAD_ONLY_FIELD - LastLoginDate  ] in 340ms (657 bytes)
Exception in thread "MemoryMonitor" java.lang.OutOfMemoryError: Java heap space
        at com.eviware.soapui.support.monitor.MonitorPanel$Surface.run(MonitorPanel.java:250)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
        at org.apache.xmlbeans.impl.store.Xobj$ElementXobj.newNode(Xobj.java:2726)
        at org.apache.xmlbeans.impl.store.Xobj.copyNode(Xobj.java:1111)
        at org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2331)
        at org.apache.xmlbeans.impl.store.Xobj.copy(Xobj.java:2405)
        at org.apache.xmlbeans.impl.values.XmlObjectBase._copy(XmlObjectBase.java:155)
        at org.apache.xmlbeans.impl.values.XmlObjectBase._copy(XmlObjectBase.java:138)
        at org.apache.xmlbeans.impl.values.XmlObjectBase.copy(XmlObjectBase.java:119)
        at com.eviware.soapui.impl.wsdl.WsdlProject.saveIn(WsdlProject.java:639)
        at com.eviware.soapui.impl.wsdl.WsdlProjectPro.saveIn(SourceFile:197)
        at com.eviware.soapui.impl.wsdl.WsdlProject.saveBackup(WsdlProject.java:628)
        at com.eviware.soapui.impl.wsdl.WsdlProjectPro.createBackup(SourceFile:496)
        at com.eviware.soapui.impl.wsdl.WsdlProjectPro.save(SourceFile:266)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:310)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:266)
        at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:35)
        at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:24)
        at com.eviware.soapui.SoapUI$SaveAllActionDelegate.actionPerformed(SoapUI.java:1134)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(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)
17:54:25,124 INFO  [WsdlProject] Removing definition cache from interface [SoapBinding]
17:54:27,843 INFO  [WsdlProject] Saved project [WS] to [C:\Documents and Settings\cfakour\SOAP_Works
pace\DSWS\backup\WS-soapui-project.xml.backup - 13781194 bytes
Exception in thread "D3D Screen Updater" java.lang.OutOfMemoryError: Java heap space
        at java.lang.reflect.Array.newArray(Native Method)
        at java.lang.reflect.Array.newInstance(Unknown Source)
        at java.util.Arrays.copyOf(Unknown Source)
        at java.util.ArrayList.toArray(Unknown Source)
        at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
        at org.apache.xmlbeans.impl.store.Xobj$AttrXobj.newNode(Xobj.java:2774)
        at org.apache.xmlbeans.impl.store.Xobj.copyNode(Xobj.java:1111)
        at org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2331)
        at org.apache.xmlbeans.impl.store.Xobj.copy(Xobj.java:2405)
        at org.apache.xmlbeans.impl.values.XmlObjectBase._copy(XmlObjectBase.java:155)
        at org.apache.xmlbeans.impl.values.XmlObjectBase._copy(XmlObjectBase.java:138)
        at org.apache.xmlbeans.impl.values.XmlObjectBase.copy(XmlObjectBase.java:119)
        at com.eviware.soapui.impl.wsdl.WsdlProject.saveIn(WsdlProject.java:639)
        at com.eviware.soapui.impl.wsdl.WsdlProjectPro.saveIn(SourceFile:197)
        at com.eviware.soapui.impl.wsdl.WsdlProjectPro.save(SourceFile:269)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:310)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:266)
        at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:35)
        at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:24)
        at com.eviware.soapui.SoapUI$SaveAllActionDelegate.actionPerformed(SoapUI.java:1134)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(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)
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    thanks.. umph, I thought this was fixed.. which version are you using?

    regards!

    /Ole
    eviware.com
  • Awesome's avatar
    Awesome
    Frequent Contributor
    i'm using build 2.5.2_2009-05-17

    ya, same thing, right we i try to save the project! although it usually occurs if i've left soapui running for a little bit ~ 30min -1hr.
  • Awesome's avatar
    Awesome
    Frequent Contributor
    version 3.0b1 seems to have the same problem out of mem problem.

    HOWEVER, 3.0b1 doesn't appear to permanently "lock up" so i was able to close down projects one by one and delete some of my generated requests from testcases (presumably this freed up mem?) then i was able to save the project.