karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1019) Set java memory options only when required
Date Wed, 16 Nov 2011 19:57:52 GMT

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

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

I'm gonna try to reproduce your issue (I don't have the problem on Unix).

More than vanishing the Java memory options, I would prefer to enhance "OS detection" in the
karaf script to define the Java options depending of the OS and JVM.
                
> Set java memory options only when required
> ------------------------------------------
>
>                 Key: KARAF-1019
>                 URL: https://issues.apache.org/jira/browse/KARAF-1019
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-os-integration
>    Affects Versions: 2.2.4
>         Environment: Windows 2003 @ amd64
> jdk1.6.0_29 x64
>            Reporter: Alexey Markevich
>            Assignee: Jean-Baptiste Onofré
>
> Related to https://issues.apache.org/jira/browse/KARAF-818
> Using my x64 environment I got PermGen space error.
> Sure - I can change JAVA_MAX_MEM, JAVA_PERM_MEM, JAVA_MIN_MEM, JAVA_MAX_PERM_MEM variables.
> But I found that without memory settings [1] my scenario works fine.
> Is it possible to set java memory options only if variables are present?
> 1. set DEFAULT_JAVA_OPTS=-server -Dderby.system.home="%KARAF_DATA%\derby" -Dderby.storage.fileSyncTransactionLog=true
-Dcom.sun.management.jmxremote

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message