You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Josh Mahonin (JIRA)" <ji...@apache.org> on 2011/04/08 19:02:05 UTC

[jira] [Created] (SM-2068) Adjustable PermSize and MaxPermSize in karaf script

Adjustable PermSize and MaxPermSize in karaf script
---------------------------------------------------

                 Key: SM-2068
                 URL: https://issues.apache.org/jira/browse/SM-2068
             Project: ServiceMix
          Issue Type: Improvement
            Reporter: Josh Mahonin
            Priority: Minor
         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

[jira] [Updated] (SM-2068) Adjustable PermSize and MaxPermSize in karaf script

Posted by "Josh Mahonin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SM-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Mahonin updated SM-2068:
-----------------------------

    Attachment: karaf.patch

Patch applies to bin/karaf in version 4.3.0

> Adjustable PermSize and MaxPermSize in karaf script
> ---------------------------------------------------
>
>                 Key: SM-2068
>                 URL: https://issues.apache.org/jira/browse/SM-2068
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Josh Mahonin
>            Priority: Minor
>         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

[jira] [Commented] (SM-2068) Adjustable PermSize and MaxPermSize in karaf script

Posted by "Josh Mahonin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017890#comment-13017890 ] 

Josh Mahonin commented on SM-2068:
----------------------------------

Hi Andreas,

Thanks for your fast response.  I don't appear to have the ability to move the issue to another project.  Is it advisable to close this one and re-open it under the Karaf project?

As for the patch, I can create one for karaf.bat as well, although I will be unable to test it.

> Adjustable PermSize and MaxPermSize in karaf script
> ---------------------------------------------------
>
>                 Key: SM-2068
>                 URL: https://issues.apache.org/jira/browse/SM-2068
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Josh Mahonin
>            Priority: Minor
>         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

[jira] [Commented] (SM-2068) Adjustable PermSize and MaxPermSize in karaf script

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017856#comment-13017856 ] 

Andreas Pieber commented on SM-2068:
------------------------------------

hey josh,

+1 to your patch; though this is something which should be applied to karaf instead of smx :) Can you please move this issue to karaf? Would you mind to also provide a patch for the karaf.bat file? If the patches are available for karaf within the next days we can include them into karaf-2.2.1 and make it therefore quite fast available for smx.

Thank you 

> Adjustable PermSize and MaxPermSize in karaf script
> ---------------------------------------------------
>
>                 Key: SM-2068
>                 URL: https://issues.apache.org/jira/browse/SM-2068
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Josh Mahonin
>            Priority: Minor
>         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