Eclipse startup failed to create the Java Virtual machine solution

Source: Internet
Author: User

Reprint please indicate: Big fly _rflyee:http://blog.csdn.net/rflyee/article/details/8958165

After reinstalling the JDK, you encounter such a problem as "failed to create the Java virtual machine." Google a bit and found the right solution and explanation:

Solution steps:

1, open the Eclipse extract directory of the configuration file Eclipse.ini;

2, find

--launcher. Xxmaxpermsize

256M

and replace it with

--launcher. Xxmaxpermsize

128M

Note: This value corresponds to two places, that is, two changes need to be modified.

3, save, start eclipse;

Question Explanation:

The maximum value of the method area (Perm Gen) to be run in the Eclipse configuration file is set to 256M or greater, but 128M is enough; the Eclipse runtime checks the memory to ensure it works, but there is not enough native memory, so the warning does not work. Now set the MaxPermSize to 128M. Which is equivalent to lowering the operating threshold.


According to the user's reflection, about Eclipse.ini configuration information,

We can refer to http://blog.csdn.net/rflyee/article/details/21005667

or Official document: Http://wiki.eclipse.org/Eclipse.ini#-vm_value%3a_Windows_Example

Reprint please indicate: Big fly _rflyee:http://blog.csdn.net/rflyee/article/details/8958165


Related Article

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.