Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] AJDT: Recent progress and upcoming releases

Robert,

As Matt points out improving memory usage of AJDT will be difficult and
happen slowly.  At the core of this is a deliberate space vs. time tradeoff
that the incremental AspectJ compiler makes.  In order to support fast
re-weaving of aspects, which can affect any type in the system, the compiler
caches all bytecodes in memory.  This isn't as crazy as it sounds, since
it's rare to see JARs over 20MB.  We made this tradeoff on the assumption
that memory is a lot cheaper than your time.

I run regular sized projects with -Xmx 380, and more on large ones.

Mik

> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-
> admin@xxxxxxxxxxx] On Behalf Of Matt Chapman
> Sent: Thursday, September 23, 2004 3:08 AM
> To: aspectj-users@xxxxxxxxxxx
> Subject: Re: [aspectj-users] AJDT: Recent progress and upcoming releases
> 
> Hi Robert,
> 
> I hear you. We've looked into this before, but it's time to revisit it.
> Please see bug 44215 and add details of your project size, and eclipse
> memory allocation (your -Xmx setting).
> 
> It's probably going to take a lot of work to improve the situation
> significantly, so realistically there's not enough time to do much in M1,
> but we'll make it a priority for M2.
> 
> Regards,
> 
> Matt.
> 
> robert kuzelj <robert_kuzelj@xxxxxxxxx> wrote on 23/09/2004 09:31:44:
> > hi matt,
> >
> > sounds way cool.
> >
> > thou i have to requests i would like to see in a future release
> > (that future being near hopefully).
> >
> > could you have a very deep look into memory usage before
> > release?
> >
> > at the moment we are working on moderatly sized app (40k lines of
> > java code and increasing). it is broken up in multiple supprojects.
> > when compiling a subproject with a lot of dependencies to other
> > subprojects i will crash eclipse due to OutOfMemoryExceptions.
> >
> > this makes usage of AJDT in eclipse almost useless. as if i cant
> > compile i wont see any gutters and wont have any visualization...
> >
> > thank you
> >
> > ciao robertj
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top