Eclipse internal error

eclipse

Solution

Most typical reason for this error is that Eclipse or its part (e.g. source code parser) ran out of memory. To increase the memory, add/change the following parameters in eclipse.ini. Depending on your machine memory, increase them 4x, even 8x:

-XX:MaxPermSize=512m -Xss2m -Xms128m -Xmx512m

You can also use these parameters as eclipse command line parameters. See details, for example, here: Understanding memory parameters for Eclipse

Problem

Today when i started my eclipse it gave me following error: ``` org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser: input could not be parsed correctly at position 150449 java.lang.StackOverflowError ``` Then it shows another error ``` An internal error occurred during: "JSP Index Manager: Processing Resource Events". java.lang.StackOverflowError ``` and then show the error and when i click on yes button it close the eclipse, I am using eclipse indigo, can any one help please.

Original source