public
Last active

Increase the java heap size to speed up your culerity/cucumber tests

  • Download Gist
slow cucumber test fix
1 2 3 4 5 6 7
My culerity/cucumber tests were running at 30 minutes, now just six. JRuby was limiting the allocated memory to 512mb (or something). I increased this to a gigabyte and now everything flies:
 
>> JRUBY_INVOCATION="jruby -J-Xmx1024m" cucumber
 
More Info:
 
http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.