In eclipse, pressing crtl key to block and report unhandled event loop exception Java heap space solution
1. At the beginning, when you press crtl + C, MyEclipse always reports unhandled event loop exception Java heap space, so you increase the memory in the eclipse.ini file – vmargs
Adjustment
-Xms256m
-Xmx512m
-XX:PermSize=128m
-20: Maxpermsize = 256M (this can really solve the problem of insufficient memory in eclipse.).. But it can’t solve the problem of crtl key stuck)
After adjustment, it is found that crtl + C will still be stuck.. I found that after pressing and holding Ctrl in eclipse, you can click to jump to the variable definition, so when you press Ctrl, eclipse will generate this mapping. When the file is large, this behavior will take a lot of time, and it is easy to get stuck. Modification
Eclipse — Windows-> Preferences-> General-> Editors-> Text Editors-> Hyperlinking:
Remove this option: enable on demand hyperlinks style navigation.. Because I’m a JSP page (the crtl key is stuck)
OK, after a new crtl + C test, the problem is solved
Similar Posts:
- *** glibc detected *** java: free(): invalid next size (fast): 0x00000000024b19d0 ***
- Eclipse failed to create the java virtual machine [How to Solve]
- MyEclipse open JSP report unhandled event loop exception no more handles error
- NPM Command Error: Allocation failed – JavaScript heap out of memory
- [Solved] A fatal error has been detected by the Java Runtime Environment:
- Java.lang.outofmemoryerror: permgen space and its solution in eclipse + Maven environment
- eclipse.ini/myeclipse.ini -Xms,-Xmx,-PerSize
- An error is reported when eclipse uses gradle to build the system
- SAP work process Memory allocate
- tomcat PermGen space