Collecting JVM memory Dump files

Source: Internet
Author: User
Tags blank page

The phenomenon of suspended animation in Java services (such as the Web page cannot open, open a blank page, the speed of access to a dramatic decline), you need to engineer in the first time dump JVM memory data, to analyze the reason. So how do I get the JVM memory dump file?

Execute under the CMD console or Linux terminal in Windows:

Jmap-dump:format=b,file=yymmddhhmm.dump PID

(where YYmmddhhmm a custom filename; the PID can be found using jconsole into the Java Monitoring and Management console ).


Note: The use of the Jmap command may cause the site to suspend external services, please reduce the generation of dump files, when encountering the website service exception, it is necessary to generate the dump file for analysis at the first time.

Collecting JVM memory Dump files

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.