remote jvms [message #131300] |
Fri, 22 September 2006 02:46  |
Eclipse User |
|
|
|
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 10:13  |
Eclipse User |
|
|
|
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 10:13  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03977 seconds