Java Virtual machine Optimization--GC log

Source: Internet
Author: User


Join

Wrapper.java.additional.5=-xx:+printgc

Wrapper.java.additional.6=-xx:+printgcdetails

#wrapper. Java.additional.7=-xx:+printgc:printgctimestamps

Wrapper.java.additional.7=-xloggc:gc.log

Wrapper.java.additional.8=-xx:+printgcapplicationstoppedtime

wrapper.java.additional.9=-xmn1200m

Wrapper.java.additional.10=-xx:+useconcmarksweepgc

Wrapper.java.additional.11=-xx:+useparnewgc

Wrapper.java.additional.12=-xx:+cmsparallelremarkenabled

Wrapper.java.additional.13=-xx:+usecmscompactatfullcollection


Print a GC log in the Tomcat bin directory


See the non-matching young generation

wrapper.java.additional.9=-xmn1200m

parameter is to adjust the parameters of the younger generation, which is generally 40% of the total JVM memory



Java Virtual machine Optimization--GC log

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.