IDEA cannot start: FailedtocreateJVM: errorcode-4

Source: Internet
Author: User
This error occurs because the continuous memory space required by IDEA is not met. Solution: 1. Reduce-Xmx and-XX: PermSize

This error occurs because the continuous memory space required by IDEA is not satisfied. solution:

1. reduce the values of-Xmx and-XX: PermSize.

Switch to the IDE_HOME \ bin \ directory and find In the. exe. vmoptions file, try to reduce the-Xmx and-XX: PermSize values. we recommend that you use MB until IDEA can be started.

2. enable the 64-bit mode

Ideaappsidea64.exe, which uses a 64-bit JDK (which must be installed separately ).

3. use . Bat startup

Use .Bat .exe starts IDEA.

4. force the 64-bit JDK

. By default, the bat script uses a 32-bit JDK (under the jre Directory of the IDEA installation file). you can use environment variables to force the 64-bit JDK. The value of the variable depends on the product you are using, IDEA_JDK for IntelliJ IDEA, WEBIDE_JDK for PhpStorm and WebStorm, PYCHARM_JDK for PyCharm, RUBYMINE_SDK for RubyMine. select the appropriate JDK.

5. uninstall uncommon applications

By detaching applications that are not commonly used, you can reduce the split-up of applications into the address space.

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.