Saving a file raises mem usage by ~20MB [message #131682] |
Wed, 15 December 2004 21:16  |
Eclipse User |
|
|
|
Originally posted by: t-n-t.f-a-s-t-m-a-i-l.fm
I just installed Eclipse 3.0.1 and CDT 2.1 RC6 on my XP machine with
Java 1.4.2_06. I'm trying to evaluating whether it is usable.
I created a project to compile a very small wxWidgets app consisting of
only 3 files. I noticed though that after almost every save operation,
the Mem Usage of javaw.exe would increase by around 20MB and sometimes a
lot more. For example, I just did it again and the mem usage jumped from
118MB to 188MB!
This initially caused the problem where I would get a message Save
Failed:null and subsequent actions would either cause erratic behaviour
or a message saying that I have to close the Workbench. I increased the
heap memory to 512MB and have seen a mem usage of up to around 330MB.
Also, when saving a file the CPU usage stays at around 99 for quite a
few seconds making it rather annoying. This also happens sometimes when
switching from file to file.
So, my question is if all of the above is normal behaviour or if it's
something to do with my setup. BTW, I'm running on an Athlon XP3000+
with 1Gig RAM.
I would appreciate any replies and comments.
Cheers,
Theo
|
|
|
|
|
|
|
Re: Saving a file raises mem usage by ~20MB [message #132592 is a reply to message #131847] |
Thu, 23 December 2004 11:29  |
Eclipse User |
|
|
|
Gael Martin wrote:
> TNT wrote:
>> So, my question is if all of the above is normal behaviour or if it's
>> something to do with my setup. BTW, I'm running on an Athlon XP3000+
>> with 1Gig RAM.
>
> I use Eclipse 3.1M3 with CDT 2.1RC6 under XP on a P4 2.4GHz with 512M of
> RAM.
>
> Eclipse+CDT does eat up a lot of memory, I'm almost always above 200M
> but barely above 300M. I've never had the kind of problem you describe
> and my projects are a lot bigger than 3 files. The only annoying thing I
> found is that if you minimise Eclipse to do something else then Windows
> will recycle the RAM and when you get back to eclipse it will take very
> long time to get back to normal. I've found a plugin (only for windows)
> which ensure Windows doesn't recycle Eclipse memory if idle, it also
> make eclipse a bit more responsive I found (but I may be wrong). You may
> want to try it:
> http://suif.stanford.edu/pub/keepresident/
Seems like much of this would be JVM, which might mean it doesn't raise so
much for the application itself.
|
|
|
Powered by
FUDForum. Page generated in 0.04920 seconds