< prev index next >

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

Print this page

        

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