Squisher does not need 2GB to run.

Setting a limit this high causes the JVM to crash on certain systems.
This commit is contained in:
Steve Kondik 2010-08-20 13:27:39 -04:00
parent fe18fc31a6
commit 6eb6163f1f

View File

@ -143,7 +143,7 @@ printf "Zipping package..."
echo echo
printf "Signing package..." printf "Signing package..."
SECURITYDIR=$ANDROID_BUILD_TOP/build/target/product/security SECURITYDIR=$ANDROID_BUILD_TOP/build/target/product/security
java -Xmx2048m \ java -Xmx256m \
-jar $ANDROID_BUILD_TOP/out/host/$OUT_TARGET_HOST/framework/signapk.jar \ -jar $ANDROID_BUILD_TOP/out/host/$OUT_TARGET_HOST/framework/signapk.jar \
-w $SECURITYDIR/testkey.x509.pem $SECURITYDIR/testkey.pk8 \ -w $SECURITYDIR/testkey.x509.pem $SECURITYDIR/testkey.pk8 \
$REPACK/update.zip $OUTFILE $REPACK/update.zip $OUTFILE