[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Eclipse using 700 RAM!?

On 10/3/2008 3:45 PM, Felix Oghina wrote:
Honestly, I don't understand this. With only 4 (four) Java files opened
in Eclipse, it uses up 724MB of RAM (screenshot attached). Does that
seem normal to you? Because it doesn't seem normal to me! And YES, I am
using Sun's Java, not GNU Java. The only reason I downloaded Eclipse was
to develop for Android. I just found out NetBeans has some useful
plugins for that as well. Bye bye Eclipse!

While 700+MB is higher than what I typically see on my machines (I usually max out around 400-450), there are several key pieces of information you have left out that would be needed in order for anyone to respond in a meaningful/helpful way. For example:
What OS and version? What JVM and version? What package of Eclipse (Java Developer, JEE Developer, Modelling, etc)? Are you specifying a max heap size to the JVM? If so, what is it?


Perhaps most importantly, what did you do in Eclipse before checking the memory and taking that screenshot? Eclipse, like all Java applications, can not give memory back to the OS once it has been allocated to it (this is how the JVM works); so if you did lots of stuff you'll see memory grow (up to a point) as it loads more and more plugins and other classes. Eclipse is regularly profiled to find and squash memory leaks, but without knowing what you installed and how you used it, there is simply no way to comment or speculate on why it appears to be using so much memory.
By the way, you'll probably find NetBeans uses a comparable amount of memory; it, like Eclipse, is a sophisticated development tool written in Java running the a JVM, so it is subject to many of the same constraints as Eclipse.


Eric