Re: [rules-dev] Memory-usage: MarshallerReaderContext held indefinitely by ReteooStatefulSession

2013-02-12 Thread magnusv
Hi Mario, sorry for the delay! Attached is the reference chain between StatefulKnowledgeSessionImpl - MarshallerReaderContext, according to the jvisualvm memory dump analysis feature. I extracted this information by looking at the Closest GC root path for the MarshallerReaderContext instance.

Re: [rules-dev] Memory-usage: MarshallerReaderContext held indefinitely by ReteooStatefulSession

2013-02-12 Thread Mario Fusco
Magnus, I just fixed this on the master and backported it to the 5.5.x branch. Thanks again for your precious help, Mario On Tue, Feb 12, 2013 at 11:42 AM, magnusv magnus.vojba...@digitalroute.comwrote: Hi Mario, sorry for the delay! Attached is the reference chain between

[rules-dev] Memory-usage: MarshallerReaderContext held indefinitely by ReteooStatefulSession

2013-02-11 Thread Magnus Vojbacke
Hi, I run into memory issues when using marshaling or unmarshalling Drools stateful sessions. I was going to send this to rules-users, but I think the content is too technical and implementation oriented to fit into that list. It seems that the memory consumption increases after a session has

Re: [rules-dev] Memory-usage: MarshallerReaderContext held indefinitely by ReteooStatefulSession

2013-02-11 Thread Mario Fusco
Hi Magnus, thanks for having reported this. What you found is quite interesting and I will give a look at this issue asap. In the meanwhile it would be great if you could open a ticket about it here: https://issues.jboss.org/browse/DROOLS Thanks again and regards, Mario On Mon, Feb 11, 2013 at

Re: [rules-dev] Memory-usage: MarshallerReaderContext held indefinitely by ReteooStatefulSession

2013-02-11 Thread Mario Fusco
Magnus, I am giving a look at this ticket just now but honestly cannot find where that MarshallerReaderContext is referenced inside the ReteooStatefulSession. It would be very helpful if you could send me the complete reference chain from the ReteooStatefulSession to the MarshallerReaderContext