This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I'm working on a large-ish (~1500 class / 200 KLOC) project. I'm using Eclipse, and while doing some relatively light refactoring work I'm getting regular out of memory ("Do you want to exit the workbench?") errors. I have automatic rebuilding of workspace on, which is certainly hogging CPU but I'm not sure whether it affects memory use. The refactoring I do generates a lot of compile errors, and the errors change frequently; this seems to cause the automatic rebuilding some stress. So my questions, which are hopefully easy to answer: 1- Are there any obvious settings for reducing memory use? Would turning off automatic rebuilding help? 2- How can I increase the amount of memory allocated to Eclipse? It peaks at around 140Mb at the moment. Cheers, --Tim PS, try running Eclipse, Weblogic and Firebird with 512 RAM...I'm learning zen-like patience
Joined: Mar 15, 2004
Hmm, problem went away when I turned off auto rebuild. ...and my whole computer (not to mention Eclipse itself) got a lot faster. I'm a compulsive Ctrl-S hitter - hangover from MSWord I guess - I have a feeling it was rebuilding my workspace almost continuously. Plus Eclipse is only sitting around 70Mb RAM, I dunno, maybe I was tripping when I saw 150 before :-\