[rules-dev] Possible memory leak in Drools 6.0.1

Mark Proctor mproctor at codehaus.org
Sun Mar 30 07:57:46 EDT 2014


Are you able to isolate what the FH’s are referencing, that might give us an idea of where to look. If you look RightTuple’s they will have a ‘sink' reference (network node) and that sink will have an ‘associates’ map. That map is the rules that node is part of. You can use this to identify the offending rule(s), and maybe paste those rules here?

Mark
On 30 Mar 2014, at 09:03, kellyajp <kellyajp at yahoo.co.uk> wrote:

> Thanks
> 
> I'll get someone from the team to work on this on Monday. Not sure how easy it will be to isolate but will keep you informed.
> 
> Andy
> On 28 Mar 2014, at 23:52, "Mark Proctor [via Drools]" <[hidden email]> wrote:
> 
>> Can you get us a unit test demonstrating this, and we’ll look into it as a priority. 
>> 
>> Mark 
>> On 28 Mar 2014, at 15:40, kellyajp <[hidden email]> wrote: 
>> 
>> > We have upgraded from Drools 5 -> Drools 6.01 and when repeating the 
>> > processing in each environment we have very different object counts that is 
>> > causing memory to run out on Drools 6: 
>> > 
>> > Below is an extract from a heap dump 
>> > 
>> > In Drools 6 the main objects in the heap are 
>> > 1:       4378006      700480960  org.drools.core.reteoo.RightTuple 
>> > 
>> > Where as in Drools 5 there are way less objects 
>> > 92:         19022        1826112  org.drools.reteoo.RightTuple 
>> > 
>> > Has anyone else had any experience of this issue? 
>> > 
>> > Thanks 
>> > 
>> > 
>> > 
>> > -- 
>> > View this message in context: http://drools.46999.n3.nabble.com/Possible-memory-leak-in-Drools-6-0-1-tp4029010.html
>> > Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. 
>> > _______________________________________________ 
>> > rules-dev mailing list 
>> > [hidden email] 
>> > https://lists.jboss.org/mailman/listinfo/rules-dev
>> 
>> _______________________________________________ 
>> rules-dev mailing list 
>> [hidden email] 
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>> 
>> 
>> If you reply to this email, your message will be added to the discussion below:
>> http://drools.46999.n3.nabble.com/Possible-memory-leak-in-Drools-6-0-1-tp4029010p4029018.html
>> To unsubscribe from Possible memory leak in Drools 6.0.1, click here.
>> NAML
> 
> View this message in context: Re: Possible memory leak in Drools 6.0.1
> Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140330/5cb5976c/attachment.html 


More information about the rules-dev mailing list