« Return to Thread: memory perm gen space .... (grails 1.1.1)
perhaps a little.. but its not the ultimate factor.. thats for max total memoery allocation including young gen and more.you could also run jconsole (found in the java folder) and look at how big the perm gen size is and increase it using the parameter Ricardo mentioned.MoeOn Sat, Jul 4, 2009 at 8:15 AM, adwin grails <callmeblessed.grails@...> wrote:
so set JAVA_OPTS=-Xmx512m will not increase Perm Gem space ?
i will try your recommendation
On Sat, Jul 4, 2009 at 9:09 AM, Ricardo
Merizalde<ricardo.merizalde@...> wrote:
> 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
>>>
>>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
« Return to Thread: memory perm gen space .... (grails 1.1.1)
| Free embeddable forum powered by Nabble | Forum Help |