Troubleshooting

Eclipse shuts down when parsing

Summary

Add -vmargs -Xss2M to your shortcut for running Eclipse.

Details

Proparse requires a large stack in order to store all nodes of a large program in memory. Since it was Java that loaded Proparse, it is the Java Virtual Machine which needs to be configured for running with a large stack.

If the stack size is not large enough, the JVM will shut down with a stack overflow error, but you will not see any error details when launching Eclipse and javaw.exe as Windows processes. It doesn't take a huge program to cause this stack overflow. A program with one or two thousand lines of COMPILE statements is enough to do it. The stack size for javaw.exe by default is 1MB. The argument -vmargs tells eclipse.exe to pass any following arguments on to the JVM. The argument -Xss2M tells the JVM to set the stack size to 2MB.