-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 6/12/12 5:47 AM, Pid wrote:
> On 11/06/2012 20:15, Christopher Schultz wrote:
>> Also, your previously-posted configuration seems a little
>> insane:
>> 
>>> Xms6g -Xmx6g -XX:NewSize=4G -XX:MaxNewSize=4G
>>> -XX:SurvivorRatio=6 -XX:MaxPermSize=512M
>>> -XX:-UseConcMarkSweepGC -XX:+UseStringCache 
>>> -XX:+HeapDumpOnOutOfMemoryError 
>>> -XX:HeapDumpPath=/home/example/logs
>> 
>> -Xmx6g and NewSize=4G? Plus 0.5G for PermGen?
> 
> I think you'll run into trouble setting the NewSize that large. 
> There's a reason that the NewRatio works the way it does.
> 
> Sun advice always used to be "keep the eden size between 1/4th and
> 1/3rd the maximum heap size".  You are specifying 2/3rd the max
> heap.

+1

I don't know what happens during a collection if the survisor space is
too small for all the objects being promoted from eden... does the MM
just randomly promote objects to the old space?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/XSUIACgkQ9CaO5/Lv0PCPRQCgoFB7X/UJ51vB2VTFUuRuKR7a
SBEAn3UW0vq1Kp9mdIREGGmVYqHiREIb
=M69J
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to