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 |
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 <[hidden email]> To: [hidden email] 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 |
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 <[hidden email]> > To: [hidden email] > 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 smime.p7s (3K) Download Attachment |
In reply to this post by Jacopo Cappellato-3
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 <[hidden email]> To: [hidden email] 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 <[hidden email]> > To: [hidden email] > 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 |
I did some load testing and it seems that the issue is caused by the
upgrade to Tomcat 6: we are probably doing something wrong in the way we init the embedded instance. What if I downgrade to Tomcat 5 and I move the patch for the upgrade to Tomcat 6 in Jira? Then we will have more time to investigate and fix this rather critical issue. What do you think? Jacopo On Jul 5, 2008, at 7:35 PM, Tom Burns wrote: > 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 <[hidden email]> > To: [hidden email] > 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 <[hidden email]> >> To: [hidden email] >> 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 |
+1.
On Mon, Jul 7, 2008 at 6:47 PM, Jacopo Cappellato < [hidden email]> wrote: > I did some load testing and it seems that the issue is caused by the > upgrade to Tomcat 6: we are probably doing something wrong in the way we > init the embedded instance. > What if I downgrade to Tomcat 5 and I move the patch for the upgrade to > Tomcat 6 in Jira? > Then we will have more time to investigate and fix this rather critical > issue. > > What do you think? > > Jacopo > > > > On Jul 5, 2008, at 7:35 PM, Tom Burns wrote: > > 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 <[hidden email]> >> To: [hidden email] >> 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 <[hidden email]> >>> To: [hidden email] >>> 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 >>> >> > |
Administrator
|
Clearly +1
Jacques From: "Ashish Vijaywargiya" <[hidden email]> > +1. > > > On Mon, Jul 7, 2008 at 6:47 PM, Jacopo Cappellato < > [hidden email]> wrote: > >> I did some load testing and it seems that the issue is caused by the >> upgrade to Tomcat 6: we are probably doing something wrong in the way we >> init the embedded instance. >> What if I downgrade to Tomcat 5 and I move the patch for the upgrade to >> Tomcat 6 in Jira? >> Then we will have more time to investigate and fix this rather critical >> issue. >> >> What do you think? >> >> Jacopo >> >> >> >> On Jul 5, 2008, at 7:35 PM, Tom Burns wrote: >> >> 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 <[hidden email]> >>> To: [hidden email] >>> 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 <[hidden email]> >>>> To: [hidden email] >>>> 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 >>>> >>> >> > |
+1
Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jul 7, 2008, at 7:58 AM, Jacques Le Roux wrote: > Clearly +1 > Jacques > > From: "Ashish Vijaywargiya" <[hidden email]> >> +1. >> On Mon, Jul 7, 2008 at 6:47 PM, Jacopo Cappellato < >> [hidden email]> wrote: >>> I did some load testing and it seems that the issue is caused by the >>> upgrade to Tomcat 6: we are probably doing something wrong in the >>> way we >>> init the embedded instance. >>> What if I downgrade to Tomcat 5 and I move the patch for the >>> upgrade to >>> Tomcat 6 in Jira? >>> Then we will have more time to investigate and fix this rather >>> critical >>> issue. >>> >>> What do you think? >>> >>> Jacopo >>> >>> >>> >>> On Jul 5, 2008, at 7:35 PM, Tom Burns wrote: >>> >>> 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 <[hidden email]> >>>> To: [hidden email] >>>> 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 <[hidden email]> >>>>> To: [hidden email] >>>>> 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 >>>>> >>>> >>> >> smime.p7s (3K) Download Attachment |
In reply to this post by Jacopo Cappellato-3
+1
Andrew On Jul 7, 2008, at 6:17 AM, Jacopo Cappellato <[hidden email] > wrote: > I did some load testing and it seems that the issue is caused by the > upgrade to Tomcat 6: we are probably doing something wrong in the > way we init the embedded instance. > What if I downgrade to Tomcat 5 and I move the patch for the upgrade > to Tomcat 6 in Jira? > Then we will have more time to investigate and fix this rather > critical issue. > > What do you think? > > Jacopo > > > On Jul 5, 2008, at 7:35 PM, Tom Burns wrote: > >> 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 <[hidden email]> >> To: [hidden email] >> 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 <[hidden email]> >>> To: [hidden email] >>> 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 > |
In reply to this post by Jacopo Cappellato-3
Please update the build.gradle file.
jvmArguments = ['-Xms128M', '-Xmx5120M'] -- Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html |
Administrator
|
Hi Vemula,
Your message has been moderated, else it would not have reach this Mailing List. Please subscribe to the user ML for such questions and then use your email client. See why here http://ofbiz.apache.org/mailing-lists.html. You will get a better support, people can answer you on the ML. The wider the audience the better the answers you might get. Also it's more work for moderators who have to accept your messages as long as you have not subscribed. I'll personally no longer accept them (other moderators still could). Thanks This said, why do you want to increase the max size of the memory? Jacques Le 30/04/2020 à 14:28, Vemula a écrit : > Please update the build.gradle file. > > jvmArguments = ['-Xms128M', '-Xmx5120M'] > > > > > -- > Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html |
Free forum by Nabble | Edit this page |