Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ajdt-dev] Re: Slow Build and Clean Times ... Where To Start?

Matt,

It looks like structure is not the culprit. Myself and other developers has
had long build times with it off now.  I've given Eclipse a gig of memory
but it only seems to be using about 300megs right now.  Is there a way to
turn on more verbose logging of what is going on inside the clean/build
process?  Right now for instance all I have is an "Operation in Progress"
dialog with no detail available.

Scott

-----Original Message-----
From: ajdt-dev-admin@xxxxxxxxxxx [mailto:ajdt-dev-admin@xxxxxxxxxxx] On
Behalf Of Matt Chapman
Sent: Wednesday, December 01, 2004 9:10 AM
To: ajdt-dev@xxxxxxxxxxx
Subject: RE: [ajdt-dev] Re: Slow Build and Clean Times ... Where To Start?

Scott,

Well that helps narrow things down a bit. Either there's a problem with the
structure model generation, or it's simply that the extra memory required to
generate the structure model pushes you into swap space or excessive GC
cycles.

The structure model generation does maintain two hash maps, but these are
definitely cleared after a build. It did occur to me recently that we might
want to maintain these maps via soft references, but I've yet to determine
how much of the memory required by the structure model generation these maps
account for, and anyway such a change would probably only prevent out of
memory errors rather than directly improve performance (depending on JVM
implementation).

It looks like we should do some investigation into the performance and
memory usage of the structure model generation. It would still be really
helpful if you could perform some timings with the structure model turned
back on, with larger heap sizes.

How many of your 300 projects are AspectJ projects?

Matt.

ajdt-dev-admin@xxxxxxxxxxx wrote on 01/12/2004 14:31:12:

> Matt,
> 
> Tell me if this makes any sense.  I removed the structure options from
our
> AspectJ projects and then cleaned/built.  It took about 20minutes.  So
then
> I turned it back on and clean/built again.  It still took 20 minutes. 
> Is there anywhere that could cache those setting that isn't getting 
> cleaned out.  I've rebuilt about 5 times since then and it 
> consistently takes 20 minutes.
> 
> Scott

_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/ajdt-dev



Back to the top