Skip to content

Commit ef8fee5

Browse files
committed
KristianRosenvold: Tweaked memory parameters so we still build on 32 bit windows
r16504
1 parent 793c057 commit ef8fee5

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
#!/bin/bash
2-
3-
case `uname` in
4-
Darwin)
5-
JAVA_OPTS="-d32"
6-
;;
7-
*)
8-
JAVA_OPTS="-client"
9-
;;
10-
esac
11-
12-
# we want jruby-complete to take care of all things ruby
13-
unset GEM_HOME
14-
unset GEM_PATH
15-
16-
java $JAVA_OPTS -Xmx1024m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*
17-
1+
#!/bin/bash
2+
3+
case `uname` in
4+
Darwin)
5+
JAVA_OPTS="-d32"
6+
;;
7+
*)
8+
JAVA_OPTS="-client"
9+
;;
10+
esac
11+
12+
# we want jruby-complete to take care of all things ruby
13+
unset GEM_HOME
14+
unset GEM_PATH
15+
16+
java $JAVA_OPTS -Xmx900m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -jar third_party/jruby/jruby-complete.jar -X-C -S rake $*
17+

go.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@echo off
2-
3-
java -Xmx1024m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*
1+
@echo off
2+
3+
java -Xmx900m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=128m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*

0 commit comments

Comments
 (0)