Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@chrisyoung
Created March 4, 2011 00:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisyoung/853948 to your computer and use it in GitHub Desktop.
Save chrisyoung/853948 to your computer and use it in GitHub Desktop.
Increase the java heap size to speed up your culerity/cucumber tests
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment