hi chris

if i remember correctly the list should be cleared upon reading
the events using the event-discovery (event polling issued by
the client).

if that doesn't work it might just be a bug.

may i kindly ask you to try the event polling. i case it doesn't
work i would suggest you create a jira issue.

thanks and kind regards
angela

On 11/04/15 02:36, "crm6360" <crm6...@hotmail.com> wrote:

>I have an event listener subscribed to receive change events from a
>jackrabbit 2.6.5 webapp repository.   Memory analysis indicates that the
>event bundles are retained by the Subscription
>(org.apache.jackrabbit.webdav.jcr.observation.SubscriptionImpl) and over
>time and this creates a substantial memory leak in the tomcat container
>that
>is hosting jackrabbit.  I'm not doing anything fancy - the event listener
>(client) receives the events but the array list containing the event
>bundles
>never stops growing.  SubscriptionImpl.java never clears the event bundle
>list and there is no apparent way for the client to do this.   Below is a
>capture of the memory profile indicating the leak:
>
><http://jackrabbit.510166.n4.nabble.com/file/n4662305/EMAT.png>
> 
>Conceptually I don't understand why there is even a need to retain the
>event
>bundles in an array if they are just being distributed to any
>subscribers.   
> 
>Thanks for any clarification and suggestions on how to proceed.
> 
>-Chris M
> 
>
>
>
>--
>View this message in context:
>http://jackrabbit.510166.n4.nabble.com/Jackrabbit-subscription-event-bundl
>es-never-cleared-tp4662305.html
>Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to