Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCE7B11CC2 for ; Fri, 15 Aug 2014 20:54:26 +0000 (UTC) Received: (qmail 70271 invoked by uid 500); 15 Aug 2014 20:54:26 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 70233 invoked by uid 500); 15 Aug 2014 20:54:26 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 70222 invoked by uid 500); 15 Aug 2014 20:54:26 -0000 Delivered-To: apmail-jakarta-jmeter-user@jakarta.apache.org Received: (qmail 70217 invoked by uid 99); 15 Aug 2014 20:54:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 20:54:26 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of myname.whatis@gmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 20:54:00 +0000 Received: from sam.nabble.com ([192.168.236.26]) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XIOVC-0004OB-4S for jmeter-user@jakarta.apache.org; Fri, 15 Aug 2014 13:53:34 -0700 Date: Fri, 15 Aug 2014 13:53:19 -0700 (PDT) From: albert_newton To: jmeter-user@jakarta.apache.org Message-ID: <1408135999095-5720849.post@n5.nabble.com> Subject: How to increase the JMeter heap size without modifying the jmeter.bat file? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am trying to increase the JMeter heap size to get rid of the error 'java.lang.OutOfMemoryError: PermGen space'. I know that it can be increased in the jmeter.bat file by setting the following properties to a higher desired number: set HEAP=-Xms256m -Xmx512m set PERM=-XX:PermSize=64m -XX:MaxPermSize=128m But we are wanting to be able to set it differently ( maybe through system.properties or jmeter.properties or something else?), so that we don't have to modify the jmeter.bat file everytime a new version comes out (we are basically automating the installation of JMeter in our application), and we are trying to just override the heap size property a different way without tinkering with the jmeter.bat file. Does anyone have an idea of how this can be achieved? -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-increase-the-JMeter-heap-size-without-modifying-the-jmeter-bat-file-tp5720849.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org