karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1019) Set java memory options only when required
Date Fri, 18 Nov 2011 07:33:51 GMT

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

Andreas Pieber commented on KARAF-1019:

I'm against removing those options. Tbh Karaf is different from Tomcat. The possibility to
create custom distributions add complete different requirements to Karaf than Tomcat; and
those vars, in combination with the setevn files allow a very neat option to configure your
app as you like. IF we only remove the default option but still allow the easy configuration
via the setenv I'm +/-0; otherwise -1
> 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-core
>    Affects Versions: 2.2.4
>         Environment: Windows 2003 @ amd64
> jdk1.6.0_29 x64
>            Reporter: Alexey Markevich
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>         Attachments: karaf, karaf.bat, karaf.bat, set_java memory_options_only_when_required.patch,
set_java memory_options_only_when_required_unix.patch
> Related to https://issues.apache.org/jira/browse/KARAF-818
> Using my x64 environment I got PermGen space error.
> 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

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


View raw message