could you check the .log inside the .metadata of your workspace? This should give you some ideas what is causing the overflow. I guess the Eclipse Indexer might be the problem, then you could try disabling the indexer (see Fixing the Eclipse Index | MCU on Eclipse for the settings for the indexer).
Other than that, you could set/increase the stack size, e.g