Increased the maximum heap size of GWT to prevent out of memory errors
svn path=/nixpkgs/trunk/; revision=17751
This commit is contained in:
parent
666754f7aa
commit
9444b0f4a4
@ -16,7 +16,7 @@ cat > $out/bin/gwt-compile <<EOF
|
|||||||
export LD_LIBRARY_PATH=$libPath
|
export LD_LIBRARY_PATH=$libPath
|
||||||
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
||||||
|
|
||||||
java -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTCompiler \$@
|
java -Xmx128m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTCompiler \$@
|
||||||
EOF
|
EOF
|
||||||
chmod 755 $out/bin/gwt-compile
|
chmod 755 $out/bin/gwt-compile
|
||||||
|
|
||||||
@ -26,6 +26,6 @@ cat > $out/bin/gwt-shell <<EOF
|
|||||||
export LD_LIBRARY_PATH=$libPath
|
export LD_LIBRARY_PATH=$libPath
|
||||||
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
||||||
|
|
||||||
java -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell \$@
|
java -Xmx128m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell \$@
|
||||||
EOF
|
EOF
|
||||||
chmod 755 $out/bin/gwt-shell
|
chmod 755 $out/bin/gwt-shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user