I did a quick search and it looks like that setting is specific to AIX. I happened to need a 1Gb heap on AIX so I had to use it. On windows I was able to specify a 728Mb heap and had no issues, but I never saw the process memory get that high and I got an out of memory any way (but my machine only has 1Gb)

Check out the settings for AIX:

http://publib.boulder.ibm.com/tividd/td/ITAME/GC32-0846-00/en_US/HTML/am39_perftune11.htm
http://www-128.ibm.com/developerworks/aix/library/au-JavaPart2.html

So there may be similar configurations for different OS. It looks from a glance of the documents that this is related to the process itself and not specific to Java.

Jose Rubio
Numbers Insight, Inc.

----- Original Message ----- From: "Jose Rubio" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 19, 2006 6:12 PM
Subject: Re: [magnolia-user] OS limit on max java heap size?


I have seen JVMs run with over 1Gb of RAM. You should be able to do 2Gb on a 32 bit machine. There are some special JVM setting to deal with high heap sizes. Check the JVM specs for more details on those. I don't remember of the top of my head, but the settings has something like MAXDATA as the name. I will try to find that table and post it here.

As for the OS, there may be a limit on how much memory a process can allocate. Also, if you set the minimum heap to 512Mb and the process can't allocate that big of a chunk you will fail. I have run with heaps over 512 on windows and UNIX. What OS are you using?

HIH,

Jose Rubio
Numbers Insight, Inc.


----- Original Message ----- From: "Ben Brock" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 19, 2006 8:34 AM
Subject: [magnolia-user] OS limit on max java heap size?



Our webapps won't start if we set the maximum heap size via "export
JAVA_OPTS" in a restart Tomcat script higher than 512mb. We can the heap
size limit higher on one of our boxes, however, which tells me this may
be OS related. Do you have any ideas?

Regards,

Ben

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to