Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RC1 still a bit slow at times..
RC1 still a bit slow at times.. [message #249082] Thu, 03 June 2004 16:06 Go to next message
Eclipse UserFriend
I notice several times in a session over a period of hours, that Eclipse
just sort of takes over the cpu. For example, I'll open a file to start
editing..it opens. Then when I click in the editor it just seems to hang for
a minute or so. Finally it comes back. I'll expand a project, then shrink
it, and it suddenly just seems to hang. Even clicking on other running apps
just seem to flash their taskbar button and not bring them forward. I am
guessing the GC is running? But I have 1GB of memory!! It shows that I have
over 600MB free memory, so I can't imagine why this is?

C:\java\eclipse\eclipse.exe -vmargs -Xverify:none

That is my start sequence. Should I add anything to increase memory? I
actually thought I had the xMx argument, but not sure if that is needed now?
Re: RC1 still a bit slow at times.. [message #249088 is a reply to message #249082] Thu, 03 June 2004 16:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Probably GCing. Try -vmargs -Xmx256m
-e

Kevin wrote:

> I notice several times in a session over a period of hours, that Eclipse
> just sort of takes over the cpu. For example, I'll open a file to start
> editing..it opens. Then when I click in the editor it just seems to hang for
> a minute or so. Finally it comes back. I'll expand a project, then shrink
> it, and it suddenly just seems to hang. Even clicking on other running apps
> just seem to flash their taskbar button and not bring them forward. I am
> guessing the GC is running? But I have 1GB of memory!! It shows that I have
> over 600MB free memory, so I can't imagine why this is?
>
> C:\java\eclipse\eclipse.exe -vmargs -Xverify:none
>
> That is my start sequence. Should I add anything to increase memory? I
> actually thought I had the xMx argument, but not sure if that is needed now?
>
>
>
Re: RC1 still a bit slow at times.. [message #249093 is a reply to message #249088] Thu, 03 June 2004 16:29 Go to previous messageGo to next message
Eclipse UserFriend
But this still doesn't fix the problem why eclipse slow starts eating and eating memory..
When i start it first and it si completely loaded and the workspace fully build it uses this:

[Full GC 42610K->30398K(64960K), 0.5407743 secs]

so after a GC it only uses 30MB with a total heap of 64 (the size i start with)
But after a few hours this is multiplied by 4 (uses mem and heap size)
I do find this a bit strange.

johan


exquisitus wrote:
> Probably GCing. Try -vmargs -Xmx256m
> -e
>
> Kevin wrote:
>
>> I notice several times in a session over a period of hours, that Eclipse
>> just sort of takes over the cpu. For example, I'll open a file to start
>> editing..it opens. Then when I click in the editor it just seems to
>> hang for
>> a minute or so. Finally it comes back. I'll expand a project, then shrink
>> it, and it suddenly just seems to hang. Even clicking on other running
>> apps
>> just seem to flash their taskbar button and not bring them forward. I am
>> guessing the GC is running? But I have 1GB of memory!! It shows that I
>> have
>> over 600MB free memory, so I can't imagine why this is?
>>
>> C:\java\eclipse\eclipse.exe -vmargs -Xverify:none
>>
>> That is my start sequence. Should I add anything to increase memory? I
>> actually thought I had the xMx argument, but not sure if that is
>> needed now?
>>
>>
>>
Re: RC1 still a bit slow at times.. [message #249103 is a reply to message #249093] Thu, 03 June 2004 16:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

It is piggish with memory, but RC1 is much improved for me in that
regard, and I think that it is one of the issues they hope to address
prior to the final release.

Johan Compagner wrote:

> But this still doesn't fix the problem why eclipse slow starts eating
> and eating memory..
> When i start it first and it si completely loaded and the workspace
> fully build it uses this:
>
> [Full GC 42610K->30398K(64960K), 0.5407743 secs]
>
> so after a GC it only uses 30MB with a total heap of 64 (the size i
> start with)
> But after a few hours this is multiplied by 4 (uses mem and heap size)
> I do find this a bit strange.
>
> johan
>
>
> exquisitus wrote:
>
>> Probably GCing. Try -vmargs -Xmx256m
>> -e
>>
>> Kevin wrote:
>>
>>> I notice several times in a session over a period of hours, that Eclipse
>>> just sort of takes over the cpu. For example, I'll open a file to start
>>> editing..it opens. Then when I click in the editor it just seems to
>>> hang for
>>> a minute or so. Finally it comes back. I'll expand a project, then
>>> shrink
>>> it, and it suddenly just seems to hang. Even clicking on other
>>> running apps
>>> just seem to flash their taskbar button and not bring them forward. I am
>>> guessing the GC is running? But I have 1GB of memory!! It shows that
>>> I have
>>> over 600MB free memory, so I can't imagine why this is?
>>>
>>> C:\java\eclipse\eclipse.exe -vmargs -Xverify:none
>>>
>>> That is my start sequence. Should I add anything to increase memory? I
>>> actually thought I had the xMx argument, but not sure if that is
>>> needed now?
>>>
>>>
>>>
Re: RC1 still a bit slow at times.. [message #249194 is a reply to message #249103] Thu, 03 June 2004 23:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

You'll still always need the -vmargs -Xmx256m (change 256 to whatever
maximum heap size in megabytes that works for you) if using the Sun VM (at
least for version 1.4). We have asked for the default to be increased but
currently the argument against it is that the option is VM specific and they
want to be VM independent, and also that RCP applications might not need
more than the 64M default maximum. See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=24512
https://bugs.eclipse.org/bugs/show_bug.cgi?id=50218

--
Ed Burnette, co-author, Eclipse in Action
www.eclipsepowered.org

"exquisitus" <user@domain.invalid> wrote in message
news:c9o24t$b5h$1@eclipse.org...
> It is piggish with memory, but RC1 is much improved for me in that
> regard, and I think that it is one of the issues they hope to address
> prior to the final release.
>
> Johan Compagner wrote:
>
> > But this still doesn't fix the problem why eclipse slow starts eating
> > and eating memory..
> > When i start it first and it si completely loaded and the workspace
> > fully build it uses this:
> >
> > [Full GC 42610K->30398K(64960K), 0.5407743 secs]
> >
> > so after a GC it only uses 30MB with a total heap of 64 (the size i
> > start with)
> > But after a few hours this is multiplied by 4 (uses mem and heap size)
> > I do find this a bit strange.
> >
> > johan
Re: RC1 still a bit slow at times.. [message #249198 is a reply to message #249194] Fri, 04 June 2004 00:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rtayek.no.spam.freightgate.com

"Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
news:c9or9q$2h8$1@eclipse.org...
> You'll still always need the -vmargs -Xmx256m

how does one find out what this is set to (in eclipse) and how does one
change it?

does anyone know what a good maximum setting is as a function of physical
ram size?

thanks
Re: RC1 still a bit slow at times.. [message #249277 is a reply to message #249198] Fri, 04 June 2004 06:46 Go to previous messageGo to next message
Eclipse UserFriend
Ray Tayek a écrit :
> "Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
> news:c9or9q$2h8$1@eclipse.org...
>
>>You'll still always need the -vmargs -Xmx256m
>
>
> how does one find out what this is set to (in eclipse) and how does one
> change it?
>
> does anyone know what a good maximum setting is as a function of physical
> ram size?

It should rather be a function of the number of opened projects you want
to have, a function of the number of objects in your java model, the
needs of the plugins you use.
Alternativly, you might find useful the MemoryManager plugin (see
eclipse-plugins.info)

> thanks
>
>
Re: RC1 still a bit slow at times.. [message #249822 is a reply to message #249198] Fri, 04 June 2004 20:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

It is set on the command line (-vmargs option) when invoking Eclipse, not
inside Eclipse. You want to set it as small as you can get away with without
excessive garbage collection. The default for Sun's JVM is 64M. The Eclipse
3.0 IDE needs at least 128M, and for my mix of work I use 256M or 300M.
YMMV.

--
Ed


"Ray Tayek" <rtayek.no@spam.freightgate.com> wrote in message
news:c9otvr$4do$1@eclipse.org...
>
> "Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
> news:c9or9q$2h8$1@eclipse.org...
> > You'll still always need the -vmargs -Xmx256m
>
> how does one find out what this is set to (in eclipse) and how does one
> change it?
>
> does anyone know what a good maximum setting is as a function of physical
> ram size?
Re: RC1 still a bit slow at times.. [message #250272 is a reply to message #249822] Mon, 07 June 2004 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rtayek.no.spam.freightgate.com

"Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
news:c9r2sf$ot7$1@eclipse.org...
> It is set on the command line (-vmargs option) when invoking Eclipse, not
> inside Eclipse. You want to set it as small as you can get away with
without
> excessive garbage collection. The default for Sun's JVM is 64M. The
Eclipse
> 3.0 IDE needs at least 128M, and for my mix of work I use 256M or 300M.
> YMMV.
>

great! - this is exactly what i need to know.

thanks

> "Ray Tayek" <rtayek.no@spam.freightgate.com> wrote in message
> news:c9otvr$4do$1@eclipse.org...
> >
> > "Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
> > news:c9or9q$2h8$1@eclipse.org...
> > > You'll still always need the -vmargs -Xmx256m
> >
> > how does one find out what this is set to (in eclipse) and how does one
> > change it? ...
Re: RC1 still a bit slow at times.. [message #250796 is a reply to message #249194] Wed, 09 June 2004 02:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

So they keep the default where it will cause problems for the majority.
Interesting choice.

Bob Foster
http://xmlbuddy.com/

"Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
news:c9or9q$2h8$1@eclipse.org...
> You'll still always need the -vmargs -Xmx256m (change 256 to whatever
> maximum heap size in megabytes that works for you) if using the Sun VM (at
> least for version 1.4). We have asked for the default to be increased but
> currently the argument against it is that the option is VM specific and
they
> want to be VM independent, and also that RCP applications might not need
> more than the 64M default maximum. See:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=24512
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=50218
>
> --
> Ed Burnette, co-author, Eclipse in Action
> www.eclipsepowered.org
>
> "exquisitus" <user@domain.invalid> wrote in message
> news:c9o24t$b5h$1@eclipse.org...
> > It is piggish with memory, but RC1 is much improved for me in that
> > regard, and I think that it is one of the issues they hope to address
> > prior to the final release.
> >
> > Johan Compagner wrote:
> >
> > > But this still doesn't fix the problem why eclipse slow starts eating
> > > and eating memory..
> > > When i start it first and it si completely loaded and the workspace
> > > fully build it uses this:
> > >
> > > [Full GC 42610K->30398K(64960K), 0.5407743 secs]
> > >
> > > so after a GC it only uses 30MB with a total heap of 64 (the size i
> > > start with)
> > > But after a few hours this is multiplied by 4 (uses mem and heap size)
> > > I do find this a bit strange.
> > >
> > > johan
>
>
Re: RC1 still a bit slow at times.. [message #251071 is a reply to message #250796] Wed, 09 June 2004 12:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Interesting that there wasn't a bug report for it. So, I created one.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=66341 and vote for it.

Bob Foster wrote:

> So they keep the default where it will cause problems for the majority.
> Interesting choice.
>
> Bob Foster
> http://xmlbuddy.com/
>
> "Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
> news:c9or9q$2h8$1@eclipse.org...
>
>>You'll still always need the -vmargs -Xmx256m (change 256 to whatever
>>maximum heap size in megabytes that works for you) if using the Sun VM (at
>>least for version 1.4). We have asked for the default to be increased but
>>currently the argument against it is that the option is VM specific and
>
> they
>
>>want to be VM independent, and also that RCP applications might not need
>>more than the 64M default maximum. See:
>>
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=24512
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=50218
>>
>>--
>>Ed Burnette, co-author, Eclipse in Action
>>www.eclipsepowered.org
>>
>>"exquisitus" <user@domain.invalid> wrote in message
>>news:c9o24t$b5h$1@eclipse.org...
>>
>>>It is piggish with memory, but RC1 is much improved for me in that
>>>regard, and I think that it is one of the issues they hope to address
>>>prior to the final release.
>>>
>>>Johan Compagner wrote:
>>>
>>>
>>>>But this still doesn't fix the problem why eclipse slow starts eating
>>>>and eating memory..
>>>>When i start it first and it si completely loaded and the workspace
>>>>fully build it uses this:
>>>>
>>>>[Full GC 42610K->30398K(64960K), 0.5407743 secs]
>>>>
>>>>so after a GC it only uses 30MB with a total heap of 64 (the size i
>>>>start with)
>>>>But after a few hours this is multiplied by 4 (uses mem and heap size)
>>>>I do find this a bit strange.
>>>>
>>>>johan
Re: RC1 still a bit slow at times.. [message #252522 is a reply to message #251071] Mon, 14 June 2004 18:32 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

Made me look :)
--
Ed

"exquisitus" <user@domain.invalid> wrote in message
news:ca7bvr$li4$1@eclipse.org...
> Interesting that there wasn't a bug report for it. So, I created one.
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=66341 and vote for it.
>
> > "Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in message
> > news:c9or9q$2h8$1@eclipse.org...
> >
> >>
> >>https://bugs.eclipse.org/bugs/show_bug.cgi?id=24512
> >>https://bugs.eclipse.org/bugs/show_bug.cgi?id=50218
Previous Topic:Eclipse M9 plugin classnotfoundexception when using external jar
Next Topic:RCP tutorial1 startup problems
Goto Forum:
  


Current Time: Fri May 09 01:33:45 EDT 2025

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

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

Back to the top