karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-563) Adjustable PermSize and MaxPermSize in karaf script
Date Mon, 11 Apr 2011 07:22:05 GMT

    [ https://issues.apache.org/jira/browse/KARAF-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018228#comment-13018228
] 

Jean-Baptiste Onofré commented on KARAF-563:
--------------------------------------------

The provided patch is not fully correct.

The -XX:PermSize and -XX:MaxPermSize options are only valid for Sun JVM. For instance, it
doesn't work with IBM JVM.

I'm updating the patch to apply Perm options only in the case of a Sun JVM.

> Adjustable PermSize and MaxPermSize in karaf script
> ---------------------------------------------------
>
>                 Key: KARAF-563
>                 URL: https://issues.apache.org/jira/browse/KARAF-563
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Josh Mahonin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: karaf.patch
>
>
> Using Sun JVM 1.6.0_21 and the Fuse release of ServiceMix 4.3.1, I was running into PermGen
OutOfMemory errors.  I've hacked up the karaf script to allow setting adjustable values, and
reverting to defaults (16M and 64M) if not found in shell variables.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message