Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Howto terminate external editor launched with IEditorLauncher
Howto terminate external editor launched with IEditorLauncher [message #198030] Wed, 09 March 2005 07:53
Eclipse UserFriend
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
Previous Topic:Tomcat eclipse plugin error
Next Topic:Error sync problem since maybe 3.1M4 up to 3.1M5a
Goto Forum:
  


Current Time: Mon Jul 22 03:23:20 GMT 2024

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top