8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space

Reviewed-by: alanb
This commit is contained in:
Kumar Srinivasan 2014-12-08 07:51:59 -08:00
parent 34372ab223
commit 8732d09ae7
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ public class Pack200Props {
List<String> cmdsList = new ArrayList<>();
cmdsList.add(Utils.getPack200Cmd());
cmdsList.add("-J-Xshare:off");
cmdsList.add("-J-Xmx1280m");
cmdsList.add("--effort=1");
cmdsList.add("--verbose");
cmdsList.add("--no-gzip");

View File

@ -34,7 +34,7 @@ import java.util.jar.*;
* @summary check for memory leaks, test general packer/unpacker functionality\
* using native and java unpackers
* @compile -XDignore.symbol.file Utils.java Pack200Test.java
* @run main/othervm/timeout=1200 -Xmx512m Pack200Test
* @run main/othervm/timeout=1200 -Xmx1280m -Xshare:off Pack200Test
* @author ksrini
*/