Eclipse very sluggish with large java file [message #87377] |
Wed, 20 August 2003 16:20  |
Eclipse User |
|
|
|
Originally posted by: mike.miller.timera.com
Our project has a java file that contains alot of procedural code. The
file has over 13,000 lines of code. (I know, we need to split the file :)
) Trying to edit and debug this file brings my PC to its knees, the
windows task manager is a solid green box in the system tray! I tried
adjusting the Workbench preferences to not 'perform automatic builds on
resource modification' but that doesn't seem to help.
Any suggestions!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Eclipse very sluggish with large java file [message #93988 is a reply to message #92709] |
Wed, 10 September 2003 11:27  |
Eclipse User |
|
|
|
Originally posted by: foo.msn.com
I've set the memory setting in the Eclipse 3.0 Mac package,
setting -Xmx512M. Performance improved slightly, but not enough to really
be useful. I'm seeing long delays on single stepping in JDT, long delays in
response to clicking on icons (Resume, Terminate, etc),. Code execution
between breakpoints is very slow as well (it's much faster when running
under control of another IDE like IntelliJ, so it isn't my code ;-) .
/Don
"Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in message
news:bj9qca$72e$1@eclipse.org...
> Hi Don,
>
> > It appears that no one knows why Eclipse is so sluggish. I started on
Mac
> > OS X with Eclipse 2.0 and performance was okay. Migrated to 2.1.1 and
> > performance was obviously slower, but not too bad. The project has
gotten
> > bigger (50 classes, maybe 3k lines in largest) and Eclipse has gotten
> > slower. I tried various option settings to no avail. On a whim I
> > downloaded and installed 2.1.1 again, into a new directory. Performance
> was
> > back to the 2.1.1 starting level, but deteriorated again over a couple
of
> > days. It's gotten so that now I can go for coffee while the debugger
> > single-steps. As you can imagine, this isn't acceptable, so I can
either
> > find a fix (any ideas?) or find another tool. IntelliJ seems to handle
> this
> > same project okay, so I suspect there is some Eclipse background
activity
> > that needs to be curtailed to get performance back to an acceptable
level.
> >
> Sound like you need a new maximum memory setting ;) Performance normaly
> decreases over the time you are using eclipse because of histories and
more
> complex programms to keep in memory. I have a max memory setting of 512mb
> and everything works smooth within a project containing a couple of mbs of
> source and a lot more libraries attached with it.
>
> So my reflex advice would be: Check your memory setting ;)
>
> Martin (Kersten)
|
|
|
Powered by
FUDForum. Page generated in 0.04197 seconds