Idea fails to start after modifying the heap memory

1. Problem recurrence

Double-clicking the idea to start does not respond, or prompts an error message: memory overflow.

Second, the cause 

During the development process, I found that the idea was stuck, so I modified the memory configuration file of the idea. The following are two places you may modify (I changed both places):

 3. Solutions

1. During the process of starting the idea, a temporary file will be generated on the C disk. The configuration in the idea you modified is inconsistent with the configuration file in the C disk, so the startup fails:

Global search in the C drive: vmoptions

(Because the directory of the files generated by each person may be different, of course you can also refer to the following directory search)

 Select the above files and delete them, then restart idea, if not, restart the computer.

2. After modifying the VM configuration, the original activation configuration file may also be polluted, resulting in startup failure.

        (1) Open the computer environment variables and delete all activation-related configurations;

        (2) Reopen the idea and reactivate it (the activation file directory should be placed in the pure English directory)

Guess you like

Origin blog.csdn.net/yy12345_6_/article/details/126781098