Howto terminate external editor launched with IEditorLauncher [message #198030] |
Wed, 09 March 2005 07:53 |
Eclipse User |
|
|
|
Originally posted by: de_klutzie.yahoo.com
Hi guys,
I'm writing a plugin for Eclipse 3, and in my plugin, user is able to
launch an external editor. I'm implementing the
org.eclipse.ui.IEditorLauncher, and the open(IPath) API is used to launch
my external editor. My editor is a Frame, which allows me to edit some of
my stuff.
I realize when the external editor is launched, it is actually using the
same VM which eclipse is using, and of course, memory usage of this VM
increased whenever i launch the editor. However when I close my editor,
the memory usage remains the same (it doesn't drop).
Is there anyway to solve this problem? I've tried to de-reference all the
instances that i've created and called a garbage collection, but it
doesn't help. Calling System.exit(int) will definately wont help as the
whole Eclipse will be terminated.
Is there a way to terminate this external editor? Or to free up the memory
usage?
Would really appreciate the help.
Thanks
klutzie
|
|
|
Powered by
FUDForum. Page generated in 0.27174 seconds