Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F88D7671 for ; Thu, 17 Nov 2011 07:55:21 +0000 (UTC) Received: (qmail 68766 invoked by uid 500); 17 Nov 2011 07:55:19 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 68675 invoked by uid 500); 17 Nov 2011 07:55:18 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 68520 invoked by uid 99); 17 Nov 2011 07:55:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 07:55:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 07:55:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0C22C8A227 for ; Thu, 17 Nov 2011 07:54:53 +0000 (UTC) Date: Thu, 17 Nov 2011 07:54:53 +0000 (UTC) From: "Alexey Markevich (Issue Comment Edited) (JIRA)" To: issues@karaf.apache.org Message-ID: <239239048.38190.1321516493051.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <482530105.35144.1321457933655.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (KARAF-1019) Set java memory options only when required MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-1019?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1315= 1891#comment-13151891 ]=20 Alexey Markevich edited comment on KARAF-1019 at 11/17/11 7:54 AM: ------------------------------------------------------------------- Some implementation was done using OS detection: https://github.com/Talend/tesb-rt-se/tree/master/talend-esb/src/main/bin But I prefer to stay without any additional args if they don't specified - = Java RT works fine with defaults (at least for me) =20 was (Author: amarkevich): Some implementation was done using OS detection: https://github.com/Talend/tesb-rt-se/tree/master/talend-esb/src/main/bin =20 > 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=C3=A9 > Fix For: 2.2.5, 3.0.0 > > > 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_P= ERM_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=3D-server -Dderby.system.home=3D"%KARAF_DATA%\de= rby" -Dderby.storage.fileSyncTransactionLog=3Dtrue -Dcom.sun.management.jmx= remote -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira