[ 
https://issues.apache.org/jira/browse/GERONIMO-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quintin Beukes updated GERONIMO-4885:
-------------------------------------

    Attachment: default-memory-options.patch

To summarize the patch:
Adds a -Xmx128m and -XX:MaxPermGen=128m as a default to bin/geronimo.sh, 
bin/geronimo.bat and etc/rc.d/start-server,default.groovy. For the groovy file 
it's only done for non Sun JRE 6 profiles.

> Configure default max heap and max permsize
> -------------------------------------------
>
>                 Key: GERONIMO-4885
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4885
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>            Reporter: Kevan Miller
>             Fix For: 2.2
>
>         Attachments: default-memory-options.patch
>
>
> It seems that the amount of PermGen space being used by Geronimo 2.2. I think 
> users are more likely to run into OutOfMemoryErrors as a result. Even on 
> small to medium size apps. Setting a default max heap and max perm size 
> should help avoid this...
> Looks like a 2.2 server is using the following:
> 50 MB heap
> 80 MB PermGen
> I'd suggest setting the max for both options to 128M. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to