title: JUnit test runs out of memory -- how to increase heap size?
body: <p>I am running a Junit test which throws an exception OutOfMemory.
  The test is started <em>inside</em> NetBeans 6.9.X. When profiling it I've
  realized that the Heap maxSize is 64M. I would like to increment this 
  but I couldn't find how to do this.</p>
  
  <p>I already tried right click at the project ->properties ->Run
  and under the VM options I've set -Xms300M but this didn't work.</p>
  
  <p>Any hint?</p>
  
  <p>Thanks in advance.</p>