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 6C04176D3 for ; Thu, 17 Nov 2011 08:35:20 +0000 (UTC) Received: (qmail 19378 invoked by uid 500); 17 Nov 2011 08:35:18 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 19218 invoked by uid 500); 17 Nov 2011 08:35:17 -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 19188 invoked by uid 99); 17 Nov 2011 08:35:15 -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 08:35:15 +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 08:35:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AA9918AF93 for ; Thu, 17 Nov 2011 08:34:51 +0000 (UTC) Date: Thu, 17 Nov 2011 08:34:51 +0000 (UTC) From: "Alexey Markevich (Updated) (JIRA)" To: issues@karaf.apache.org Message-ID: <1920631258.38244.1321518891700.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <482530105.35144.1321457933655.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Markevich updated KARAF-1019: ------------------------------------ Attachment: set_java memory_options_only_when_required.patch =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 > > Attachments: karaf.bat, karaf.bat, set_java memory_options_only_w= hen_required.patch > > > 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