Jmeter-java Heap Memory Overflow

Source: Internet
Author: User

A memory overflow outfmenmory error occurred after a period of stress testing using JMeter, causing JMeter to die, first attempting to add jvm_args= "-xmx2048m-xms2048m" in Jmeter.bat- xmn256m-xx:permsize=128m-xss256k ", but the result running time increased, but eventually reported memory overflow, Baidu after following the suggestion of the netizen changed after JMeter no more cards:
In the Windows environment, modify the Jmeter.bat:

Set Heap=-xms256m-xmx256mset new=-xx:newsize=128m-xx:maxnewsize=128m instead: Set Heap=-xms256m-xmx1024mset NEW=-XX: newsize=128m-xx:maxnewsize=512m



In the Linux environment, modify the jmeter.sh: Java$JVM _args-xms1g-xmx5g-xx:maxpermsize=512m-dapple.laf.usescreenmenubar=true-jar ' dirname '/apachejmeter.jar ' [ Email protected] "

Jmeter-java Heap Memory Overflow

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.