Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Heap space problem

Hi @ all

 

I have a problem using AspectJ within Eclipse (AJDT).

 

Problem description:

Following project dependencies.

 

                               Project1

                                      |

                               Project2

                               /              \

                Project3              Project4

                /      |     \              /

Project5       |     Project6

                Project7

 

(aprox. 10K Classes,  10 Aspects)

 

All Projects are AJ projects. The aspects are located in Project1 and 3 and should be woven into all projects that depend directly or indirectly on the containing project.

 

All projects have a project dependency to the project(s) above. And also an entry in the aspect path to the bin folder of the project(s) above. Both dependencies are exported.

I might be wrong but AFAIK this should be correct.

 

Most of the pointcuts use execution() compared with within(). There are only few that user call().

 

The problem is that the build fails since it runs out of heap space and Eclipse crashes(Heap size is set to 3 GB). I've tried minmalModel=true and also typeDemotion=true. No changes.

 

Environment Info:

Eclipse 3.6.1 (Helios)

WinXP Pro SP2 running as a VM

10 GB RAM

 

Any ideas what could be wrong with this setup that causes this excessive use of heap?

 

If some important information is missing please tell.

 

Greets Florian

 


Back to the top