Tag Archives: Unhandled event loop exception

Eclipse prompts that unhandled event loop exception is stuck

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