Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » remote jvms
remote jvms [message #131300] Fri, 22 September 2006 06:46 Go to next message
Eclipse UserFriend
Originally posted by: johannes.testori.shark-soft.com

hi!
when i open a visual class, eclipse starts two extra JVMs that need, in my
case, more than 35MB memory. i.e. when i open a second visual class,
another 35MB are gone.
my first question is why two JVMs are started for one visual class? and my
second question is: wouldn't it possible to start start a single additional
JVM for all visual classes in the same project?
kind regards,
hannes
Re: remote jvms [message #131346 is a reply to message #131300] Fri, 22 September 2006 14:13 Go to previous message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Johannes,

One VM is launched per project for gathering beaninfo information for
the project, and one VM is created per opened class to model the class.
Also in recent versions of the VE, an additional VM can be launched as
a spare to speed up loading times if the visual needs to be refreshed
completely, or a new editor is launched. When a full refresh of a
visual class needs to be done, the current VM is thrown away and the
visuals are recreated in the next VM in the queue.

We've talked about trying to optimize performance by doing everything in
a single VM and/or giving the option to run everything from the VM
that's running Eclipse, but I don't know if the topic has been
investigated thoroughly enough yet - maybe it'll be added as an option
in future releases of the VE.

Hope this helps,
- Jeff

Testori wrote:
> hi!
> when i open a visual class, eclipse starts two extra JVMs that need, in my
> case, more than 35MB memory. i.e. when i open a second visual class,
> another 35MB are gone.
> my first question is why two JVMs are started for one visual class? and my
> second question is: wouldn't it possible to start start a single additional
> JVM for all visual classes in the same project?
> kind regards,
> hannes
Re: remote jvms [message #614651 is a reply to message #131300] Fri, 22 September 2006 14:13 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Johannes,

One VM is launched per project for gathering beaninfo information for
the project, and one VM is created per opened class to model the class.
Also in recent versions of the VE, an additional VM can be launched as
a spare to speed up loading times if the visual needs to be refreshed
completely, or a new editor is launched. When a full refresh of a
visual class needs to be done, the current VM is thrown away and the
visuals are recreated in the next VM in the queue.

We've talked about trying to optimize performance by doing everything in
a single VM and/or giving the option to run everything from the VM
that's running Eclipse, but I don't know if the topic has been
investigated thoroughly enough yet - maybe it'll be added as an option
in future releases of the VE.

Hope this helps,
- Jeff

Testori wrote:
> hi!
> when i open a visual class, eclipse starts two extra JVMs that need, in my
> case, more than 35MB memory. i.e. when i open a second visual class,
> another 35MB are gone.
> my first question is why two JVMs are started for one visual class? and my
> second question is: wouldn't it possible to start start a single additional
> JVM for all visual classes in the same project?
> kind regards,
> hannes
Previous Topic:remote jvms
Next Topic:verticalIndent missing for GridData (SWT)
Goto Forum:
  


Current Time: Fri Apr 26 13:56:50 GMT 2024

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

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

Back to the top