Created
March 4, 2011 00:57
-
-
Save chrisyoung/853948 to your computer and use it in GitHub Desktop.
Increase the java heap size to speed up your culerity/cucumber tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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