Re: OFBiz crash on high load
Posted by
Jacques Le Roux on
Aug 09, 2006; 11:18pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-crash-on-high-load-tp141304p141310.html
----- Original Message -----
From: "Walter Vaughan" <
[hidden email]>
To: <
[hidden email]>
Sent: Wednesday, August 09, 2006 11:53 PM
Subject: Re: OFBiz crash on high load
> Mamdouh Kaadan wrote:
> > The run command is: "%JAVA_HOME%\bin\java" -Xms256M -Xmx1024M -jar
> > ofbiz.jar
>
> You say the problems seem to be related to load. With 3 Gig of memory, you might
> want to rethink your java memory allocation. From my feeble memory, the minimum
> should be close to the maximum available and the maximum should be close to 75%
> or more available memory. In this case, I'd try to move it to
>
> "%JAVA_HOME%\bin\java" -Xms2048M -Xmx2560M -jar ofbiz.jar
>
> quid pro ergo prompter hoc
>
> What version of Java SDK are you running?
>
> What's your commit charge look like under load?
>
> Have you turned all the other services off that are not related to your OFBiz
> installation?
>
> Will TPTB at your enterprise allow you to run the OFBiz server using a "normal"
> ServerOS like Linux,Solaris,FreeBSD,Mac-Xserve?
>
> When did you last do a SVN update with OFBiz?
>
> Do you have some anti-virus running?
>
> Have you tried setting the Processor affinity to a single CPU?
>
> Did you turn off HyperThreading in the BIOS?
BTW I have read recently that on Windows you can't get more than approximatly 1.5GB of Heap
See here for instance :
http://www.velocityreviews.com/forums/t144234-help-ltgc-reduced-max-java-heap-size-to-bytes-due-to-memory-contraintsgt-.htmlThe explanation come from the implementation of the garbage collector : it needs an continuous segment of memory.
Jacques