Stopping plug-ins when no longer used [message #307171] |
Tue, 15 August 2006 05:21  |
Eclipse User |
|
|
|
Originally posted by: muell.da-kulmi.de
Hello,
are plug-ins stopped automatically when their classes are no longer
used? When using Eclipse-LazyStart, plug-Ins are only activated on demand.
But what happens, if the classes of a plug-in are no longer in use? Does
Eclipse stop the plug-ins automatically? Should the programmer realize
this situation and stop them him-/herself?
I am asking because I assume an activated plug-in consumes memory, and
working with an application for a longer time would cause many plug-ins
to be activated - so the application would probably need a lot of memory.
Stefan Koelmann
|
|
|
Re: Stopping plug-ins when no longer used [message #307189 is a reply to message #307171] |
Tue, 15 August 2006 09:11  |
Eclipse User |
|
|
|
Eclipse won't automatically stop a plugin ... over time, it's possible
to have more and more active.
But if a plugin is no longer used, then unless it holds resources in its
activator class I don't think it's holding more memory that it takes to
have the classes loaded.
If you know for sure it's not used, you can stop the plugin
programmatically.
Later,
PW
|
|
|
Powered by
FUDForum. Page generated in 0.04169 seconds