[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [aspectj-users] Class file too big after aspect weaving
I doubt you will have any OutOfMemory exception due to classloading.
Aspects will include more code into your classes. So, the increase depends
on how big your aspect code is, how small your original classes are and how
many join points are found within your original code.
From: "Lawrence Lee" <larryleecomb@xxxxxxxxxxx>
Subject: [aspectj-users] Class file too big after aspect weaving
Date: Tue, 31 Oct 2006 09:33:22 -0500
I have a pointcut that captures all calls in my application and in
the advice, those method names and parameter names are logged to a
When the above aspect is weaved into my application, the class file
sizes have increased 10 times in some cases. I am not sure how such
a bloated ear files affects the application server. I am afraid that
I might get OutOfMemoryError and haven't tried it on our server yet.
I am not worried about the performance issues. It is ok if the
application runs slow as long as I don't get OutOfMemoryError. Just
wondering if anyone on this list has tried anything like this and if
so, I would like to know their experiences.
Experience Live Search from your PC or mobile device today.
aspectj-users mailing list
一番乗り! Windows Vista、 2007 Office system の最新情報はここから