dev@glassfish.java.net

Re: Heap Memory

From: Bharath Mundlapudi <Bharath.Mundlapudi_at_Sun.COM>
Date: Mon, 07 Jul 2008 11:30:36 -0700

I am assuming you are programming your application on Glassfish?

Please refer heap sizing section here
http://java.sun.com/performance/reference/whitepapers/tuning.html

Also you may want to refer,
http://java.sun.com/docs/hotspot/HotSpotFAQ.html#gc_heap_32bit

You can increase the heap size with -Xmx jvm option.

-Bharath

>We are programming an application that requires to work with 3 Gb of heap
>memory from a java virtual machine but, in spite we had prove with the
>Xmx parameter in order to obtain the said necessary memory level, we had
>only obtained 64 Mb (we had used MemoryMXBean and MemoryUsage in order to
>know the disposed memory level)
>
>Please, would you tell us how to increase the heap memory level at the
>java virtual machine?
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>