jsalvata 2003/11/28 04:18:05 Modified: bin jmeter.bat Log: Setting memory profile as in unix start script. Also removed the "-server" option, since it causes important variations in performance along the life of the process, which would make tester's life more difficult. Revision Changes Path 1.26 +45 -33 jakarta-jmeter/bin/jmeter.bat Index: jmeter.bat =================================================================== RCS file: /home/cvs/jakarta-jmeter/bin/jmeter.bat,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- jmeter.bat 29 Sep 2003 14:57:19 -0000 1.25 +++ jmeter.bat 28 Nov 2003 12:18:05 -0000 1.26 @@ -1,33 +1,45 @@ [EMAIL PROTECTED] off -if not "%OS%"=="Windows_NT" goto win9xStart -:winNTStart [EMAIL PROTECTED] - -rem Need to check if we are using the 4NT shell... -if "%eval[2+2]" == "4" goto setup4NT - -rem On NT/2K grab all arguments at once -set JMETER_CMD_LINE_ARGS=%* -goto doneStart - -:setup4NT -set JMETER_CMD_LINE_ARGS=%$ -goto doneStart - -:win9xStart -rem Slurp the command line arguments. This loop allows for an unlimited number of -rem agruments (up to the command line limit, anyway). - -set JMETER_CMD_LINE_ARGS= - -:setupArgs -if %1a==a goto doneStart -set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 -shift -goto setupArgs - -:doneStart -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -java -server -Xmx256m -jar ApacheJMeter.jar %JMETER_CMD_LINE_ARGS% \ No newline at end of file [EMAIL PROTECTED] off +if not "%OS%"=="Windows_NT" goto win9xStart +:winNTStart [EMAIL PROTECTED] + +rem Need to check if we are using the 4NT shell... +if "%eval[2+2]" == "4" goto setup4NT + +rem On NT/2K grab all arguments at once +set JMETER_CMD_LINE_ARGS=%* +goto doneStart + +:setup4NT +set JMETER_CMD_LINE_ARGS=%$ +goto doneStart + +:win9xStart +rem Slurp the command line arguments. This loop allows for an unlimited number of +rem agruments (up to the command line limit, anyway). + +set JMETER_CMD_LINE_ARGS= + +:setupArgs +if %1a==a goto doneStart +set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +:doneStart +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +rem See the unix startup file for the rationale of the following parameters, +rem including some tuning recommendations +set HEAP=-Xms256m -Xmx256m +set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m +set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=80% +set TENURING=-XX:MaxTenuringThreshold=2 +set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20% +set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 +set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m +set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution +set ARGS=%HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% %DEBUG% + +java %ARGS% -jar ApacheJMeter.jar %JMETER_CMD_LINE_ARGS%
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
