title: Unable to increase heap size for JMeter on Mac OSX
body: <p>Is there a way to increase heap size of JMeter in Mac OSX? I have tried editing the <code>jmeter.bat</code> file, but it didn't help.</p>
  
  <p>I edited the <code>jmeter.sh</code> file to add <code>JVM_ARGS="-Xms3072m -Xmx3072m" jmeter.sh</code></p>
  
  <p>I tried the following also</p>
  
  <pre><code>#!/bin/bash
  
  heap_size='3072m'
  JAVA_CMD="java -Xms$heap_size -Xmx$heap_size" meter`
  </code></pre>
  
  <p>as suggested in this link <a href="http://www.mcdruid.co.uk/content/increase-the-memory-allocated-to-jmeter-in-ubuntu-linux" rel="nofollow">increase the memory allocated to jmeter in ubuntu linux</a></p>
  
  <p>Does any one know how to do it in Mac OSX. I have java version as follows:</p>
  
  <pre class="lang-none prettyprint-override"><code>java version 1.6.0_65
  Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
  Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)`
  </code></pre>
  
  <p>on OSX 10.9.4</p>