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?

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 



Back to the top