Skip to content

Commit

Permalink
KristianRosenvold: Tweaked memory parameters so we still build on 32 …
Browse files Browse the repository at this point in the history
…bit windows

r16504
  • Loading branch information
krosenvold committed Apr 10, 2012
1 parent 793c057 commit ef8fee5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
34 changes: 17 additions & 17 deletions go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

case `uname` in
Darwin)
JAVA_OPTS="-d32"
;;
*)
JAVA_OPTS="-client"
;;
esac

# we want jruby-complete to take care of all things ruby
unset GEM_HOME
unset GEM_PATH

java $JAVA_OPTS -Xmx1024m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*

#!/bin/bash

case `uname` in
Darwin)
JAVA_OPTS="-d32"
;;
*)
JAVA_OPTS="-client"
;;
esac

# we want jruby-complete to take care of all things ruby
unset GEM_HOME
unset GEM_PATH

java $JAVA_OPTS -Xmx900m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*

6 changes: 3 additions & 3 deletions go.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

java -Xmx1024m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*
@echo off

java -Xmx900m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*

0 comments on commit ef8fee5

Please sign in to comment.