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. -- Thanks, Kumaraswamy.N 91-9866805250.
