8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
This commit is contained in:
parent
34372ab223
commit
8732d09ae7
@ -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");
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user