« Return to Thread: memory perm gen space .... (grails 1.1.1)

Re: memory perm gen space .... (grails 1.1.1)

by Ricardo Merizalde :: Rate this Message:

Reply to Author | View in Thread

I meant

$ jstat -gcpermcapacity 445

On Fri, Jul 3, 2009 at 8:08 PM, Ricardo Merizalde <ricardo.merizalde@...> wrote:
Adwin,

PermGen is used to store the code executed by the JVM and not the memory used by your program. You can check it by:

$ jps
  220
  445 YourApp
  446 Jps

then

$ jstat -gcpermcapacity 336

You can increase you perm size with the following option:

-XX:MaxPermSize=256m

--Ricardo


On Fri, Jul 3, 2009 at 6:34 PM, adwin grails <callmeblessed.grails@...> wrote:
Hi.

I have a view / template that contains lots of domain (around 10) and
I got memory perm gen space error ... (sometimes not everytime) but
when I refresh, it comeback to normal again.

I checked on the my memory usage it still using 270mb while I
allocated for java memory about 512mb.

I am using grails 1.1.1 anyway ...


anyone knows why it happens ?

thank you


regards
adwin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




 « Return to Thread: memory perm gen space .... (grails 1.1.1)