Test SVN to Eclipse Ganymede> build > run install > setup an OFBiz run configuration (without VM arguments) > Goto Entity Reference - Interactive > Fail Closed Eclipse Ran from command line (ofbiz start) with same result Ran from Eclipse with arguments set -Xms128M -Xmx512M > Success :)
os.name=Windows XP os.version=5.1 osgi.arch=x86 512mb eclipse.vmargs=-Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m -XX:MaxPermSize=256M Hope this helps. Tom ----- Original Message ---- From: Tim Ruppert <[EMAIL PROTECTED]> To: dev@ofbiz.apache.org Sent: Saturday, July 5, 2008 12:53:41 PM Subject: Re: OutOfMemoryError: Java heap space Tom, can you please give us information on how you are running it and what the heap size setups are? Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jul 5, 2008, at 7:49 AM, Tom Burns wrote: > Yesterday a fresh trunk copy ran out of memory... > > org.ofbiz.widget.screen.ScreenRenderException: > Error rendering screen > [component://webtools/widget/EntityScreens.xml#EntityRefMain]: > java.lang.IllegalArgumentException: Error calling service with name > getEntityRefData: org.ofbiz.service.GenericServiceException: Service > target threw an unexpected exception (Java heap space) (Error calling > service with name getEntityRefData: > org.ofbiz.service.GenericServiceException: Service target threw an > unexpected exception (Java heap space)) > > I had a similar problem some weeks ago. Did nothing about it - well > I'm only a lurker :) ! > > Tom > > > > ----- Original Message ---- > From: Jacopo Cappellato <[EMAIL PROTECTED]> > To: dev@ofbiz.apache.org > Sent: Saturday, July 5, 2008 3:55:32 AM > Subject: OutOfMemoryError: Java heap space > > Hi all, > > I have noticed a "OutOfMemoryError: Java heap space" error happening > quite frequently on some production ecommerce site running on OFBiz. > Anybody else have noticed this error on a recently updated server? > This error may be related (but not sure) to the upgrade to Tomcat 6... > maybe there is something wrong in the way we create the embedded > instance of Tomcat. > > Thanks, > > Jacopo