[rules-dev] Possible memory leak in Drools 6.0.1

kellyajp kellyajp at yahoo.co.uk
Tue Apr 1 10:22:38 EDT 2014


Trying to isolate the issue, and analyse the heap dump; its a very large heap file so trying a number of things. Working on it and will let you know shortly.

Thanks


________________________________
 From: Mark Proctor [via Drools] <ml-node+s46999n4029052h77 at n3.nabble.com>
To: kellyajp <kellyajp at yahoo.co.uk> 
Sent: Tuesday, 1 April 2014, 14:10
Subject: Re: Possible memory leak in Drools 6.0.1
 


any news?

Mark

On 30 Mar 2014, at 13:38, Mark Proctor <[hidden email]> wrote:



On 30 Mar 2014, at 13:26, kellyajp <[hidden email]> wrote:

I'll get that to you on Monday 

On 30 Mar 2014, at 12:59, "Mark Proctor [via Drools]" <<a href="x-msg://133/user/SendEmail.jtp?type=node&amp;node=4029027&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:


Are you able to isolate what the FH’s are referencing, Sorry that should be RT, not FH. RT == RightTuple, FH == FactHandle.

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 <<a href="x-msg://133/user/SendEmail.jtp?type=node&amp;node=4029026&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> 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]" <<a href="<a href="x-msg://131/user/SendEmail.jtp?type=node&amp;amp;node=4029025&amp;amp;i=0">x-msg://131/user/SendEmail.jtp?type=node&amp;node=4029025&amp;i=0" target="_top" rel="nofollow" link="external">[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 <<a href="<a href="x-msg://131/user/SendEmail.jtp?type=node&amp;amp;node=4029018&amp;amp;i=0">x-msg://131/user/SendEmail.jtp?type=node&amp;node=4029018&amp;i=0" target="_top" rel="nofollow" link="external">[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 
>>>>> <a href="<a href="x-msg://131/user/SendEmail.jtp?type=node&amp;amp;node=4029018&amp;amp;i=1">x-msg://131/user/SendEmail.jtp?type=node&amp;node=4029018&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email] 
>>>>> https://lists.jboss.org/mailman/listinfo/rules-dev_______________________________________________ rules-dev mailing list <a href="<a href="x-msg://131/user/SendEmail.jtp?type=node&amp;amp;node=4029018&amp;amp;i=2">x-msg://131/user/SendEmail.jtp?type=node&amp;node=4029018&amp;i=2" target="_top" rel="nofollow" link="external">[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
>>><a href="x-msg://133/user/SendEmail.jtp?type=node&amp;node=4029026&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
>>>https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>>_______________________________________________ 
>>rules-dev mailing list 
>><a href="x-msg://133/user/SendEmail.jtp?type=node&amp;node=4029026&amp;i=2" target="_top" rel="nofollow" link="external">[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-tp4029010p4029026.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
>[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-tp4029010p4029052.html 
To unsubscribe from Possible memory leak in Drools 6.0.1, click here.
NAML



--
View this message in context: http://drools.46999.n3.nabble.com/Possible-memory-leak-in-Drools-6-0-1-tp4029010p4029071.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140401/af5e3070/attachment.html 


More information about the rules-dev mailing list