I seem to have a memory leak in my Web Application which occurs when
using the <c:forEach> tag. More specifically I'm using the tag to
iterate through an ArrayList of value bean objects. The contents of the
ArrayList are the result of a query. The arraylist is added to the
session by a servlet using session.setAttribute(). However even on
invalidating the session, the value bean class still remains in memory.
If I add the ArrayList to the session, but never access it with
<c:forEach> then the memory leak disappears. 

 

I've used Quest JProbe to discover this. 

 

Does any have any idea what maybe causing this behaviour. 

 

Many Thanks,

 

 

Gareth J Hall

[EMAIL PROTECTED]

mobile: +447971037081

MSN: [EMAIL PROTECTED]

AOL: gaz207

 

Reply via email to