Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] org.aspect.* instances take almost 50% of heap in VM

We have enabled LTW in our web app as it is required for a library used; we are using the latest version 1.7.3 but unfortunately, as soon as I start the tomcat, I see that almost 50% of the heap is consumed by org.aspect.* objects.
Class Name                                                                                    | Shallow Heap | Retained Heap | Percentage
-----------------------------------------------------------------------------------------------------
org.apache.catalina.loader.WebappClassLoader @ 0x1794fcc0|                           176 |   9,36,88,104   |     48.19%
|- org.aspectj.weaver.ltw.LTWWorld @ 0x17941c78                                  |          136 |   7,65,52,016 |     39.37%
|  |- org.aspectj.weaver.World$TypeMap @ 0x17cc6cd0                             |           40 |   7,64,98,456 |     39.35%
-----------------------------------------------------------------------------------------------------

I could sense this post http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg13940.html comes very close to my problem but did not help since I am already on the latest version.

Thanks
Venkatesh Laguduva

Back to the top