The setting of the eclipse. ini file in the eclipse directory may be incorrect. The general setting of the INI file mainly includes the following items:
-Vmargs-Xms40m-Xmx256m-XX: permsize = 64m-xx: maxpermsize = 128 m
The following explains what it means. -Vmargs: The following is the VM parameter-xms40m: The minimum memory occupied by the VM-xmx256m: The maximum memory occupied by the VM-XX: permsize: The minimum heap size. Generally, when the memory is insufficient, it is said that this is too small. If the remaining heap space is smaller than 5%, a warning will be given. We recommend that you set this to a slightly larger value, but set it based on the memory size of your machine-XX: maxpermsize: Maximum heap size. This is also appropriate larger so if there is a problem, first please adjust-xms40m: Set it to a smaller number, it is OK, 1g memory is recommended to set to:-vmargs-Xms128M-Xmx512M-XX: permsize = 256m-xx: maxpermsize = 512m where-XX: permsize = 64 m can be set larger, but cannot exceed 5% of the MaxPermSize-Xmx512M is 25.6 m, theoretically required-the value of xmx and-XX: maxpermsize must be greater than 25.6 m
Bytes --------------------------------------------------------------------------------------------------------------------------
-Hotspot-xms32m-xmx256m-XX: maxpermsize = 128 m