Reputation: 6889
I had 100+ files open in the previous session, then closed eclipse. On a restart, eclipse just hangs with extremely high mem usuage. This problem doesn't happen with only 50 files opened.
How to prevent eclipse from loading all the previously opened files on startup? It would make more sense that the files are loaded on demand, i.e. load when focused.
I am using CDT.
Upvotes: 1
Views: 2149
Reputation: 6889
opened a bug on eclipse, after the help from there, it turns out this is caused by the vrapper plugin I installed. For more details, https://bugs.eclipse.org/bugs/show_bug.cgi?id=377368
Upvotes: 1
Reputation: 6006
This is not possible. Eclipse will always restore the same state after a restart.
You can mitigate the effects with little fuzz by
Close Project
Close Unrelated Projects
Upvotes: 1
Reputation: 115
When the Eclipse is open, close those projects which you dont want for now. Right Click on the project name and select "Close Project". Next time you restart the Eclipse the closed projects should not get loaded.
Upvotes: 1