Giancarlo F. Berner wrote:
> 
> Hi Anne-Marie
> 
> This looks like you have to adjust the PERM size. This is another
> setting. The JVM has two typical memory settings:
> a) Heap size
> b) Perm size

c) Stack

> The Heap size defines the amount of memory located for the JVM.

No, the heap defines well the size of the heap, this is were most of the
objects go (modern JVM can allocate on the stack as well). The total
amount of memory for the JVM is bigger, it's made of the heap, a fixed
stack size for each thread, the permanent generation and other stuff
like system.

> It
> allocates the "minimum" on startup (so the -Xms setting). If more memory
> is required, the JVM allocates additional slices of 64M until it reaches
> the "maximum" (setting -Xmx). This "slicing"
> is performant, so if you know that you will need 512M of heap at some
> stage, then set the "minimum" to 512M. This way your JVM will allocate
> more memory on startup and might not even require any additional heap
> memory.
> 
> The Perm size is the size of the stack.

BS. The stack size is the size of the stack. Perm Gen contains stuff
like classes and the string intern pool.

Cheers
Philippe


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to