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