< prev index next >

test/hotspot/jtreg/serviceability/sa/TestJmapCore.java

Print this page

        

@@ -84,11 +84,11 @@
         }
     }
 
     static void test(String type) throws Throwable {
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(true, "-XX:+CreateCoredumpOnCrash",
-                "-XX:MaxMetaspaceSize=64m", "-XX:+CrashOnOutOfMemoryError", "-XX:-TransmitErrorReport",
+                "-Xmx512m", "-XX:MaxMetaspaceSize=64m", "-XX:+CrashOnOutOfMemoryError", "-XX:-TransmitErrorReport",
                 TestJmapCore.class.getName(), type);
 
         boolean useDefaultUlimit = useDefaultUlimit();
         System.out.println("Run test with ulimit: " + (useDefaultUlimit ? "default" : "unlimited"));
         OutputAnalyzer output = useDefaultUlimit
< prev index next >