Java.lang.OutOfMemoryError:GC Overhead limit exceeded

Source: Internet
Author: User
Tags gc overhead limit exceeded

The reason why write down, because do not want to encounter the next thing to look everywhere, many times the same error message, but caused by a lot of reasons.

I took a test drive. Number of virtual machine startup adoption:-xx:-usegcoverheadlimit


The original link is written, marked thanks;

Http://www.cnblogs.com/hucn/p/3572384.html

I encountered this problem when the local deployment throws an exception Java.lang.OutOfMemoryError:GC overhead limit exceeded cause the service to not come, view the log found to load too much resources to memory, local performance is not good, GC time consumption is more. The two ways to solve this problem are to add parameters,-xx:-usegcoverheadlimit, turn off this feature, and increase the heap size at the same time-xmx1024m.

Java.lang.OutOfMemoryError:GC Overhead limit exceeded

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.