I run ofbiz and it only takes 700K I have 2 megs memory and never use
swap file. There is not memory leaks that I can see, my server has been
up for 14 days since my last restart to add code.
as side note:
if your using windows and a swapfile extensively, you system will hang.
So I would start by having a server with one instance to verify that it
is ofbiz or a modification you have done. Then work back.
Kumaraswamy nandipati sent the following on 7/8/2009 8:42 AM:
> Hi.,
>
> I am using Ofbiz for my ecommerce application. Due to memory issues server
> geting shutdown.
>
> My ofbiz server hosted with memory information as follows
> Primary memory : 4GB( 50% as swap)
>
> here is memory information in startup script:
>
> MEMIF="-server -Xverify:none -Xms1024M -Xmx1536M -XX:MaxPermSize=1024M
> -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParNewGC
> -XX:+CMSClassUnloadingEnabled -XX:+UseAdaptiveSizePolicy"
>
>
> My application has two instances on two different machines for load
> balancing called *Frontend* and *Backend*(all other modules except ecommerce
> module). both are different ofbiz instances for my website synchronized at
> apache level.
>
> I am having 2 issues
> 1.P) When I open order stats page, backend ofbiz was getting down for some
> times because of out of memory issue. In orderstats page, its trying to
> travel each and every order in current year for stat information. Till now
> in current year, my application had 10K orders, This may holds huge memory I
> think.
>
> 2.P) My application(ecommerce module i.e Frontend) was running fine for 4-5
> days, after that, it is shutting down because outOfMemory issue.
>
> In both ofbiz instances, I am using cache management for certain things upto
> 3 hrs of cacheing.
>
> Seriously these are two issues pointing me
>
> Before find a solution for this, I want to use a scheduler/cron which will
> identify server down and restart the server automatically and in meanwhile I
> has to fix this issue.
>
> Any suggestions are appriciated towards this.
>
>
>
>
>
--
BJ Freeman
http://www.businessesnetwork.com/automationhttp://bjfreeman.elance.comhttp://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_proSystems Integrator.