It's easy to blame Eclipse 4. But I'd like to see some real memory analysis that shows why it's consuming as much as it does. Then we can act on fixing it.
Sent from my BlackBerry 10 smartphone on the Rogers network.
Hi,
I guess, you are not the only one.
Since Eclipse 4.x hit the ground, Eclipse looks like getting bloated, lacking and consuming much more RAM.
Not everyone has the luck, that he gets that fast machines with lots of RAM.
My working machine e.g. "only" has 8GB of RAM.
But Eclipse isn't the only tool I use, and some other programs also consume 500MB RAM and more.
And more and more programs here are also based on Java, may that be Lotus Notes, MKS Integrity Client, AUTOSAR Configuration tools ...
So, I wonder, what the actual usage of Eclipse should be.
Have several separate Eclipse installations, which have only the plugins needed for the specific usage?
e.g. one for C/C++, one for maybe Modeling tasks, etc. pp.
Or does it depend on the workspace and it's contained projects?
But switching all the time between the workspaces isn't that nice either.
I'm not a Java developer as you might already know, so I also have no clue, what these VM settings actually have what effect.
I only found out, that one should set the Xmx to something like 1024M on Windows. But I still get sometimes an Out-of-Memory, or Heapspace error, and sometimes, Eclipse just needs several seconds before it is actually reacting on actions I do, like calling
the context menu on a project or such simple things.
So, what should one do?
I guess, this is not just a problem of CDT itself, but the whole Eclipse zoo of plugins.
What are the intentions also of the Eclipse foundation? Are there any activities now to get the 4.x stream to perform like the old 3.x stream?
Am 26.06.2014 00:29, schrieb Doug Schaefer:
I've been worried that we've increased memory requirements in the last couple of releases. Love to understand why that is once I get it other things out of the way. Boost is the best example.
Sent from my BlackBerry 10 smartphone on the Rogers network.
You might think about changing your eclipse.ini file.
I have a much larger project than that. I have about 6000 files, with about 84 Mbytes,
and 2.5M lines of code, including comments. The indexer runs on this in about an hour.
I found I ran out of memory with Luna, but when I set these values in my eclipse.ini file,
the indexing seemed to complete.
-XX:MaxPermSize=256m
-Xms1G
-Xmx4G
This seems pretty big, but it does complete. I don't know if these numbers are sensible or
not. Perhaps there are better ones. I mostly just guessed.
I do have a really fast computer, though.
|