--- old/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java 2018-09-24 08:53:40.848257000 +0530 +++ new/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java 2018-09-24 08:53:40.380023000 +0530 @@ -87,7 +87,7 @@ 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();