Home » Language IDEs » Java Development Tools (JDT) » Performance problems
Performance problems [message #63149] |
Fri, 20 June 2003 11:31  |
Eclipse User |
|
|
|
Originally posted by: jlavoie.electrad.ca
Hi there,
Is anybody experiencing performance problems with Eclipse? By performance
problems I mean Eclipse hangs for several seconds and even minutes for no
apparent reason (e.g. in the middle of typing some code or even
comments...). I noticed that the hard drive is working like crazy when it
happens. The longer my Eclipse session has been on, the worse it gets (more
frequent, longer hangs). I suspect that the Java garbage collector is
working during the hangs but if it's the case, I wonder what produces that
much garbage...
Any ideas? It's driving me nuts. I'm even thinking about dropping Eclipse
and go back to emacs and the JDE.
My environment is:
Athlon 1 GHz
256 MRAM
HD 30G, 7200 RPM ATA100
Windows 2000 Pro
Eclipse version: 2.1.0
Build id: 200303272130
java.version=1.4.1_01
Thanks,
Jean
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
| | | | |
Re: Performance problems [message #63726 is a reply to message #63451] |
Fri, 20 June 2003 19:44   |
Eclipse User |
|
|
|
Originally posted by: jlavoie.electrad.ca
On Fri, 20 Jun 2003 15:05:57 -0400, Michael R Head <burner@zclipse.org>
wrote:
> On Fri, 20 Jun 2003 11:31:33 -0400, Jean Lavoie wrote:
>
>
>
>> 256 MRAM
>
> This is your problem. I could barely fit windows XP in memory, let alone
> eclipse. Get another 256M and you'll be much happier (I grabbed a 512
> SODIMM for my P42.0Ghz laptop and it made all the difference in both
> WinXP
> and Debian).
Well, I may be out of phase but IMHO, a single app that requires that much
memory gets 2 strikes against it. I can easily understand that performances
may not be snappy but hanging during one minute because I have "only" 256M
of RAM is ridiculous. I think that Eclipse team should slow down on
features and invest more time in performance tuning.
Anyway, even if I complain 'til tomorrow, Eclipse will remain a memory hog
and I won't have more memory in my machine. I guess I have to make a
decision here.
Thank you very much for your answer,
Jean
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Re: Performance problems [message #65253 is a reply to message #63726] |
Mon, 23 June 2003 13:01   |
Eclipse User |
|
|
|
Originally posted by: dcorbin.imperitek.com
Jean Lavoie wrote:
> On Fri, 20 Jun 2003 15:05:57 -0400, Michael R Head <burner@zclipse.org>
> wrote:
>
>> On Fri, 20 Jun 2003 11:31:33 -0400, Jean Lavoie wrote:
>>
>>
>>
>>> 256 MRAM
>>
>>
>> This is your problem. I could barely fit windows XP in memory, let alone
>> eclipse. Get another 256M and you'll be much happier (I grabbed a 512
>> SODIMM for my P42.0Ghz laptop and it made all the difference in both
>> WinXP
>> and Debian).
>
>
> Well, I may be out of phase but IMHO, a single app that requires that
> much memory gets 2 strikes against it. I can easily understand that
> performances may not be snappy but hanging during one minute because I
> have "only" 256M of RAM is ridiculous. I think that Eclipse team should
> slow down on features and invest more time in performance tuning.
>
I disagree entirely. RAM is cheap. As someone who uses Eclipse 8-12
hours a day, I'm not the least bit worried about memory consumption, as
a long as a machine less than 5 years old can hold what's required.
Eclipse does some incredibly slick things, and I sit there and think
about how much RAM had to be used to keep that information "ready in
case", and then I say, "who cares".
David
> Anyway, even if I complain 'til tomorrow, Eclipse will remain a memory
> hog and I won't have more memory in my machine. I guess I have to make a
> decision here.
>
> Thank you very much for your answer,
> Jean
>
>
>
|
|
|
Re: Performance problems [message #65358 is a reply to message #65253] |
Mon, 23 June 2003 14:12   |
Eclipse User |
|
|
|
Originally posted by: jlavoie.electrad.ca
On Mon, 23 Jun 2003 13:01:09 -0400, David Corbin <dcorbin@imperitek.com>
wrote:
> Jean Lavoie wrote:
>> On Fri, 20 Jun 2003 15:05:57 -0400, Michael R Head <burner@zclipse.org>
>> wrote:
>>
>>> On Fri, 20 Jun 2003 11:31:33 -0400, Jean Lavoie wrote:
>>>
>>>
>>>
>>>> 256 MRAM
>>>
>>>
>>> This is your problem. I could barely fit windows XP in memory, let
>>> alone
>>> eclipse. Get another 256M and you'll be much happier (I grabbed a 512
>>> SODIMM for my P42.0Ghz laptop and it made all the difference in both
>>> WinXP
>>> and Debian).
>>
>>
>> Well, I may be out of phase but IMHO, a single app that requires that
>> much memory gets 2 strikes against it. I can easily understand that
>> performances may not be snappy but hanging during one minute because I
>> have "only" 256M of RAM is ridiculous. I think that Eclipse team should
>> slow down on features and invest more time in performance tuning.
>>
>
> I disagree entirely. RAM is cheap. As someone who uses Eclipse 8-12
> hours a day, I'm not the least bit worried about memory consumption, as a
> long as a machine less than 5 years old can hold what's required.
>
> Eclipse does some incredibly slick things, and I sit there and think
> about how much RAM had to be used to keep that information "ready in
> case", and then I say, "who cares".
>
> David
>
I don't know about you but Eclipse is not the only app I need to run while
developing. I have Opera running, Outlook, emacs, Total Commander, etc. All
these apps have can do very slick things too and, together, they're using
less than half the memory used by Eclipse.
When I was developing in C++, I was using Visual Studio 6 on machines with
only 128M and it was a charm to use, always responsive and as great as
Eclipse in terms of features.
Imagine for a second if all the apps that are doing very slick things were
to consume as much memory as Eclipse does...
Jean
>
>> Anyway, even if I complain 'til tomorrow, Eclipse will remain a memory
>> hog and I won't have more memory in my machine. I guess I have to make a
>> decision here.
>>
>> Thank you very much for your answer,
>> Jean
>>
>>
>>
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Re: Performance problems [message #65507 is a reply to message #65358] |
Mon, 23 June 2003 15:48   |
Eclipse User |
|
|
|
Originally posted by: vj.mail.com
"Jean Lavoie" <jlavoie@electrad.ca> wrote in message
news:oprq8finn1am8xrn@news.eclipse.org...
> On Mon, 23 Jun 2003 13:01:09 -0400, David Corbin <dcorbin@imperitek.com>
> wrote:
>
> > Jean Lavoie wrote:
> >> On Fri, 20 Jun 2003 15:05:57 -0400, Michael R Head <burner@zclipse.org>
> >> wrote:
> >>
> >>> On Fri, 20 Jun 2003 11:31:33 -0400, Jean Lavoie wrote:
> >>>
> >>>
> >>>
> >>>> 256 MRAM
> >>>
> >>>
> >>> This is your problem. I could barely fit windows XP in memory, let
> >>> alone
> >>> eclipse. Get another 256M and you'll be much happier (I grabbed a 512
> >>> SODIMM for my P42.0Ghz laptop and it made all the difference in both
> >>> WinXP
> >>> and Debian).
> >>
> >>
> >> Well, I may be out of phase but IMHO, a single app that requires that
> >> much memory gets 2 strikes against it. I can easily understand that
> >> performances may not be snappy but hanging during one minute because I
> >> have "only" 256M of RAM is ridiculous. I think that Eclipse team should
> >> slow down on features and invest more time in performance tuning.
> >>
> >
> > I disagree entirely. RAM is cheap. As someone who uses Eclipse 8-12
> > hours a day, I'm not the least bit worried about memory consumption, as
a
> > long as a machine less than 5 years old can hold what's required.
> >
> > Eclipse does some incredibly slick things, and I sit there and think
> > about how much RAM had to be used to keep that information "ready in
> > case", and then I say, "who cares".
> >
> > David
> >
> I don't know about you but Eclipse is not the only app I need to run while
> developing. I have Opera running, Outlook, emacs, Total Commander, etc.
All
> these apps have can do very slick things too and, together, they're using
> less than half the memory used by Eclipse.
>
> When I was developing in C++, I was using Visual Studio 6 on machines with
> only 128M and it was a charm to use, always responsive and as great as
> Eclipse in terms of features.
>
> Imagine for a second if all the apps that are doing very slick things were
> to consume as much memory as Eclipse does...
>
> Jean
Surely Visual studio 6 is nowhere near Eclipse in featureset. When I first
used Visual Studio more than 2 years ago I was impressed by the featureset
but when I recently had a chance to use it again, it seemed positively
primitive in comparison to Eclipse.
Anyway, that's a side observation. I dont know if it's possible to shrink
down Eclipse much without stripping away features or spending a lot of time
writing better code at the expense of incorporating new features.
I find myself having to keep a close watch on memory consumption even with
640MB RAM in my machine. I have to periodically restart some apps to keep
memory usage from ballooning. The culprit is frequently Internet explorer on
my machine not Eclipse though. Eclipse doesnt grow beyond about 200MB. RAM
being as cheap as it is, if I had to choose between features or small memory
footprint, I'd choose features anyday. I think we should be pragmatic about
this and not pursue perfection in one direction (small memory footprint) at
the expense of all others.
|
|
|
Re: Performance problems [message #65658 is a reply to message #63149] |
Mon, 23 June 2003 23:19   |
Eclipse User |
|
|
|
Originally posted by: ed.burnette.REMOVE.THIS.sas.com
I've experienced (and reported with bugzilla) some pauses like this though
my longest were about 15 seconds. It seems to be related to Windows having
most of the JVM's memory paged out, while the JVM is trying to do garbage
collection. One thing that helped a lot was tweaking the JVM's maximum heap
size parameter. Try running eclipse.exe with the option:
-vmargs -Xmx128m
128m (MB) is just a suggestion. Try a higher or lower number and see what
works best for you. The next biggest help for performance is to keep
projects closed in your workspace that you're not currently using.
With 256MB memory going for as little as $30 at newegg.com (maybe cheaper
elsewhere, try your favorite price search engine), you might want to
consider a small upgrade whether or not you're using Eclipse. XP, Visual
Studio.Net, Outlook, and other newer programs seem to assume more and more
memory with each new release.
--
Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)
"Jean Lavoie" <jlavoie@electrad.ca> wrote in message
news:oprq2n2vuaam8xrn@news.eclipse.org...
> Is anybody experiencing performance problems with Eclipse? By performance
> problems I mean Eclipse hangs for several seconds and even minutes for no
> apparent reason (e.g. in the middle of typing some code or even
> comments...). I noticed that the hard drive is working like crazy when it
> happens. The longer my Eclipse session has been on, the worse it gets
(more
> frequent, longer hangs). I suspect that the Java garbage collector is
> working during the hangs but if it's the case, I wonder what produces that
> much garbage...
|
|
| | | |
Re: Performance problems [message #68365 is a reply to message #63726] |
Thu, 26 June 2003 16:40   |
Eclipse User |
|
|
|
Originally posted by: faust.acm.org
$30 for 256Mb of RAM. www.pricewatch.com
Randy
"Jean Lavoie" <jlavoie@electrad.ca> wrote in message
news:oprq3awcs0am8xrn@news.eclipse.org...
> On Fri, 20 Jun 2003 15:05:57 -0400, Michael R Head <burner@zclipse.org>
> wrote:
>
> > On Fri, 20 Jun 2003 11:31:33 -0400, Jean Lavoie wrote:
> >
> >
> >
> >> 256 MRAM
> >
> > This is your problem. I could barely fit windows XP in memory, let alone
> > eclipse. Get another 256M and you'll be much happier (I grabbed a 512
> > SODIMM for my P42.0Ghz laptop and it made all the difference in both
> > WinXP
> > and Debian).
>
> Well, I may be out of phase but IMHO, a single app that requires that much
> memory gets 2 strikes against it. I can easily understand that
performances
> may not be snappy but hanging during one minute because I have "only" 256M
> of RAM is ridiculous. I think that Eclipse team should slow down on
> features and invest more time in performance tuning.
>
> Anyway, even if I complain 'til tomorrow, Eclipse will remain a memory hog
> and I won't have more memory in my machine. I guess I have to make a
> decision here.
>
> Thank you very much for your answer,
> Jean
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Re: Performance problems [message #71037 is a reply to message #67799] |
Tue, 01 July 2003 13:38  |
Eclipse User |
|
|
|
Originally posted by: jlavoie.electrad.ca
Thank you very much Ed! Just the kind of help I was looking for.
I will apply these advices and see if performance improves.
Thanks again,
Jean
On Wed, 25 Jun 2003 23:17:43 -0400, Ed Burnette
<ed.burnette@REMOVE.THIS.sas.com> wrote:
> If you're really having problems with performance you can turn off
> decorators (Preferences > Label Decorations), and turn off automatic
> rebuilds (Preferences > Workbench > Perform build automatically). Eclipse
> does a lot of disk I/O so put everything on local drives (not on the
> network) and keeping them defragged helps a lot (a lot = 10x faster
> refactoring in my tests).
>
> Plugins that are not used will not be loaded so don't worry about
> removing
> things. Just use the latest JVM available, generally they get faster with
> each release. Developerworks has an article about improved GC in the IBM
> 1.4
> JVM but I haven't tried it (mainly because I haven't found a download
> location :).
>
> And of course, report performance problems through bugzilla. There's an
> ongoing project to monitor and improve Eclipse performance.
>
> --
> Ed
>
>
> "Tim Kuntz" <timkuntz@javapriest.com> wrote in message
> news:bd9qaa$198$1@rogue.oti.com...
>> Thanks Ed. I'm running under Win2K with 512 in memory and have this same
>> problem and it really does seem to be a paging problem.
>>
>> Are there any other performance tips you can give? Is there a
>> recommended JVM or optional shipped plug-ins that can be easily removed?
>
>
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Goto Forum:
Current Time: Tue Jul 22 08:31:45 EDT 2025
Powered by FUDForum. Page generated in 0.49057 seconds
|