Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AJDT and memory

On 4 October 2010 04:17, Emond Papegaaij <emond.papegaaij@xxxxxxxxxx> wrote:
> Did you make any additional improvements lately? Last time, you were a bit
> supprised that type demotion did not reduce the memory usage by as much as you
> expected it to do. I haven't tried AJDT since then, because with the memory
> usage at that time, Eclipse is not very usable on my laptop. If you need more
> feedback from me, please let me know. It's only a matter of minutes to create
> a workspace for testing AJDT.

Hi,

Yes I was surprised, but no I haven't made any further improvements.
I have some
large projects I can try it out on, just haven't had the time
recently.  When I can do
some benchmarking of my own, I'll investigate in more detail to
confirm the memory
usage is what I think it should be with the optimizations on.  For
now I'm happy the
memory usage is reduced with the optimizations turned on and there don't
seem to be any adverse effects after I addressed the couple of bugs
you found - but
I still don't feel comfortable making it default until I've seen it
behave reliably for a few
more users.

cheers,
Andy

> On Sunday 03 October 2010 12:05:15 Andy Clement wrote:
>> Hi Martin,
>>
>> Unfortunately I've only seen limited feedback.  Emond has been
>> commenting on https://bugs.eclipse.org/bugs/show_bug.cgi?id=278496 and
>> I have addressed all the bugs with it that I am aware of, but I'm
>> still not going to make it the default mode for AspectJ/AJDT until I
>> get a few more positive results.  Backporting it to 3.4 would also
>> probably require a few users requesting it - maybe you can open a bug
>> to do the backport work and see how many votes it collects.
>>
>> cheers,
>> Andy
>>
>> On 1 October 2010 02:24, "Martin Keßler" <Martin.Kessler1@xxxxxx> wrote:
>> > Hello,
>> >
>> > is there any update/feedback regarding the memory consumption? Did it
>> > make a difference and is there a chance you might backport it to 3.4? We
>> > are using RSA and are really interested.
>> > Thanks,
>> > Martin
>> >
>> > -----Original Message-----
>> > From: aspectj-users-bounces@xxxxxxxxxxx
>> > [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
>> > Sent: Freitag, 13. August 2010 16:49
>> > To: aspectj-users@xxxxxxxxxxx
>> > Subject: Re: [aspectj-users] AJDT and memory
>> >
>> > On 12 August 2010 01:02, Thomas Hofmann <email@xxxxxxxxxxxxxxxxx> wrote:
>> >> Is this available for Eclipse 3.4 as I am using RSA and as you might
>> >> remeber have a quite large workspace? Currently I am using a max. heap
>> >> size of 1300 MB. I would like to try the new options on this workspace.
>> >
>> > Backporting would be a large effort as AJDT and AspectJ are moving
>> > forward quite rapidly now we have a larger team.  If there was enough
>> > feedback that this made an amazing difference on 3.5/3.6, we might think
>> > about the backport.
>> >
>> > cheers
>> > Andy
>> >
>> >> -----Original Message-----
>> >> From: aspectj-users-bounces@xxxxxxxxxxx
>> >> [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
>> >> Sent: Freitag, 6. August 2010 00:56
>> >> To: aspectj-users@xxxxxxxxxxx
>> >> Subject: [aspectj-users] AJDT and memory
>> >>
>> >> Hi,
>> >>
>> >> Under bug 278496 I've gradually been working on this, the idea is to
>> >> reduce the memory used for compile-time weaving in AJDT, using
>> >> something similar to the strategy I used to reduce memory for Loadtime
>> >> weaving.
>> >>
>> >> The latest AJDT dev builds now include the first pass at these changes.
>> >>  You need to 'turn them on' as I don't want them default until I get
>> >> some feedback on whether they behave.
>> >>
>> >> To configure them, open your project properties, go to AspectJ compiler,
>> >> then scroll down to the bottom of the options panel and in the 'other'
>> >> section in the free form text field enter:
>> >>
>> >> -Xset:minimalModel=true,typeDemotion=true
>> >>
>> >> Then work as normal.  I'm interested in whether:
>> >> - you see a noticeable reduction in heap usage (maybe turn on the
>> >> eclipse heap status monitor under Window>Preferences>General)
>> >> - you see a change in performance.  With the more eager eviction model
>> >> these options employ, there may be more messing around to compile
>> >> stuff  (probably only noticeable on full builds)
>> >> - it breaks !
>> >>
>> >> thanks for any feedback,
>> >> Andy
>> >> _______________________________________________
>> >> aspectj-users mailing list
>> >> aspectj-users@xxxxxxxxxxx
>> >> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> >> _______________________________________________
>> >> aspectj-users mailing list
>> >> aspectj-users@xxxxxxxxxxx
>> >> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> >
>> > _______________________________________________
>> > aspectj-users mailing list
>> > aspectj-users@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> >
>> > --
>> > GMX DSL Doppel-Flat ab 19,99 ¿/mtl. ¿ Jetzt auch mit
>> > gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>> > _______________________________________________
>> > aspectj-users mailing list
>> > aspectj-users@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top