title: Jmeter testing with 10k+ threads
body: <p>I need to run a thread test with over 10000 threads but at about 2000, I get the error:</p>
  
  <pre><code>Uncaught Exception java.lang.OutOfMemoryError: unable to create new native thread.
  </code></pre>
  
  <p>My machine has 8GB ram. I tried</p>
  
  <pre><code>set JVM_ARGS="-Xms1024m -Xmx6144m" jmeter.sh
  </code></pre>
  
  <p>I didnt change anything in the jmeter.sh file though. Do I need to change anything? What else could I do to run such a large test? How do I run a jmx file without the jmeter gui also? (using mac osx)</p>