加班途中开发问加的jvm参数怎么没生效,随即补一篇。
windows
jmeter.bat中,添加:
set HEAP=-Xms2g -Xmx2g -XX:MaxMetaspaceSize=512m set GC_ALGO=-XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=20
linux
jmeter中,添加:
HEAP="-Xms2g -Xmx2g -XX:MaxMetaspaceSize=512m" GC_ALGO="-XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=20"
标签:512m,set,Xmx2g,XX,参数,jvm,jmeter From: https://www.cnblogs.com/uncleyong/p/17428742.html