Just to be sure,
Have you removed "rem" from the startofbiz.bat file?
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rem.mspx?mfr=true

You can see the site: http://partbook.eu

I also do have a lot of categories (around 100k) + some additional
customizations. I set Xmx to 3GB but after working a while, I sill have
a problem with memory. 

What's more, some parts of code are not designed to handle such data
sets. At the moment I am interesting in something like:
http://www.opentaps.org/docs/index.php/Using_the_Query_Tool

To create native SQL queries. This will speed up invokation of the
queries and will save my memory (I guess 'cause of ommiting
findByAndCache). After that I will think about caching most commonly
seen screens (like the main page). Ehcache looks nice and very simple.

So If you really need to work on large datasets, be prepare to put some
more effort. If you do it just for test - simply reduce the number of
categories. 

Ofbiz is in fact quite fast in case of small DS.

Regards,
Michał


Dnia 2010-09-08, śro o godzinie 08:47 -0700, BJ Freeman pisze:
> how much free memory do you have on your machine?
> 
> 
> 
> 
> =========================
> BJ Freeman  <http://bjfreeman.elance.com>
> Strategic Power Office with Supplier Automation  
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
> 
> Chat  Y! messenger: bjfr33man
> Gavin Mabie sent the following on 9/8/2010 7:08 AM:
> 
> > Hi
> > ?
> 
> >
> >
> > I have added quite a large number of product categories - I think this is
> > the cause of the following error (Thrown by Tomcat):
> > "java.lang.OutOfMemoryError: Java heap space"
> >
> >
> >
> > I have tried to increase memory allocation to 1024M in the startofbiz.bat
> > file (rem set MEMIF=-Xms128M -Xmx1024M) - but the problem persists.
> >
> >
> >
> > Thanks
> >
> >
> >
> >

Reply via email to