The
allocation of memory for the JVM is specified using -X options when
starting Resin (the exact options may depend upon the JVM that you are
using, the examples here are for the Sun JVM).
It is good practice with server-side Java applications like Resin to set the minimum -Xms and maximum -Xmx heap sizes to the same value.
For efficient garbage collection, the -Xmn value should be lower than the -Xmx value.
JVM option passed to Resin | Meaning |
-Xms | initial java heap size |
-Xmx | maximum java heap size |
-Xmn -Xss | the size of the heap for the young generation the stack size for each thread |
It is good practice with server-side Java applications like Resin to set the minimum -Xms and maximum -Xmx heap sizes to the same value.
For efficient garbage collection, the -Xmn value should be lower than the -Xmx value.
No comments:
Post a Comment