You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Anil Gaur <an...@live.com> on 2017/01/19 10:07:09 UTC
How to Incerease Heap Size
Hi All,
I want to increase the HEAP size for Jmeter test plan. Currently i can edit the heap max 512 mb for my local system control panel.
But i want to increase the heap size upto 80% of my RAM so what are the available options for the same in Jmeter.
Please explain me so i can continue.
Thanks
Anil
RE: How to Incerease Heap Size
Posted by Giovani Facchini <gf...@planittesting.com>.
Hey Anil,
Just got for jmeter.bat file. You will find this section:
set HEAP=-Xms512m -Xmx512m
set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m
set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%
set TENURING=-XX:MaxTenuringThreshold=2
rem Java 8 remove Permanent generation, don't settings the PermSize
if %current_minor% LEQ "8" (
rem Increase MaxPermSize if you use a lot of Javascript in your Test Plan :
set PERM=-XX:PermSize=64m -XX:MaxPermSize=128m
)
Just change the HEAP is that is what you want. You can change other memory params as well.
Regards,
Giovani
-----Original Message-----
From: Anil Gaur [mailto:anilgaur@live.com]
Sent: Thursday, 19 January 2017 9:07 PM
To: user@jmeter.apache.org
Subject: How to Incerease Heap Size
Hi All,
I want to increase the HEAP size for Jmeter test plan. Currently i can edit the heap max 512 mb for my local system control panel.
But i want to increase the heap size upto 80% of my RAM so what are the available options for the same in Jmeter.
Please explain me so i can continue.
Thanks
Anil
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org