How to reduce memory consumption of AJDT?

149 Views Asked by At

I have situations when I need to load 20-30 projects in Eclipse Workspace. Most of the projects require AspectJ weaving. Currently we are using LTW, but want to move to CTW. The problem is that with 12 AJDT projects in workspace I get around 1Gb "eaten" by some AJDT stuff after full rebuild. I already use AJDT compiler options

-Xset:minimalModel=true,typeDemotion=true

It helps, but not much. Is there any way to switch off cross references view and wipe out all information needed for this view. I really do not need it. I was happy w/o it with LTW.

1

There are 1 best solutions below

8
kriegaex On

You could go to "Help" -> "Installation Details" and on the "Installed software" tab locate "Cross References tool (XRef)". Then you could try uninstalling it and see what happens. Maybe the XRef tool is the culprit, maybe just the weaving step during compilation is, depending on how many classes you have and how broadly you apply AspectJ to your code base.

Eclipse installation details dialogue