mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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 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
|
||||
chmod 755 $out/bin/gwt-compile
|
||||
|
||||
@ -26,6 +26,6 @@ cat > $out/bin/gwt-shell <<EOF
|
||||
export LD_LIBRARY_PATH=$libPath
|
||||
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
|
||||
chmod 755 $out/bin/gwt-shell
|
||||
|
Loading…
Reference in New Issue
Block a user