diff -r 374e36bd1357 -r f6a125580f62 nashorn/make/project.properties --- a/nashorn/make/project.properties Fri Jan 18 08:45:06 2013 +0530 +++ b/nashorn/make/project.properties Fri Jan 18 17:55:04 2013 +0530 @@ -209,11 +209,14 @@ src.dir=src test.src.dir=test/src +run.test.xmx=3G +run.test.xms=2G + # -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMethods # add '-Dtest.js.outofprocess' to run each test in a new sub-process -run.test.jvmargs=-server -Xmx3G -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 +run.test.jvmargs=-server -Xmx${run.test.xmx} -XX:-TieredCompilation -esa -ea -Dnashorn.debug=true -Dfile.encoding=UTF-8 #-XX:+HeapDumpOnOutOfMemoryError -XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M -run.test.jvmargs.octane=-Xms2G -Xmx2G ${run.test.jvmargs} +run.test.jvmargs.octane=-Xms${run.test.xms} -${run.test.jvmargs} run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy