Memory is exhausted quickly during development [message #504229] |
Thu, 17 December 2009 18:35 |
|
Hi all,
During intensive development of RAP application in which I run
RAP JUnit mercilessly, the memory consumption is piling up quickly not
to mention the tests run slower and slower after each run. Usually after
quite sometime we have to restart Eclipse. This is counterproductive and
distractive.
Has anybody experienced the same problem ?
Any advice would be greatly appreciated.
Regards,
Setya
|
|
|
|
Re: Memory is exhausted quickly during development [message #504361 is a reply to message #504345] |
Fri, 18 December 2009 13:36 |
|
Hi,
> I have a vaguely remember that the internal browsers leaks memory (at
> least IE on Windows) but I couldn't find a bug or other proof for that.
> Did you try to run the tests in the external browser?
I'm developing on Ubuntu, so the default browser is Firefox I guess. I
only try on external browser occasionally.
Before each test run I seldom shutdown OSGI from previous run first.
Could this be the cause ?
Setya
|
|
|
|
Re: Memory is exhausted quickly during development [message #504365 is a reply to message #504362] |
Fri, 18 December 2009 14:31 |
|
Rudiger,
> If you leave the default settings as is, a possibly running OSGi
> instance will be killed before the next one is launched.
I thought the default settings is with VM argument
-Dosgi.noShutdown=true, doesn't it mean that the previous one is kept
alive ?
Also I notice that after each run, a new Java process is created using
approx. 150Mb and it stays there forever until I shutdown the OSGI instance.
> But as the OSGi
> instance is running in a separate VM, this would not affect the memory
> consumption of your IDE.
Sorry, I mean it slows down the whole machine and eventually hurts Eclipse.
Regards,
Setya
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04284 seconds