<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2>In 4.0.3, there is a memory leak with the use of
WorkingMemoryLogger.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2>Maybe it's that ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2>PS : <A
href="http://jira.jboss.com/jira/browse/JBRULES-1325">http://jira.jboss.com/jira/browse/JBRULES-1325</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=571091916-07012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<P align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=571091916-07012008>V.</SPAN></FONT></P><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De :</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>De la part de</B> Edson
Tirelli<BR><B>Envoyé :</B> lundi 7 janvier 2008 11:32<BR><B>À :</B>
Rules Users List<BR><B>Objet :</B> Re: [rules-users] Drools 4.02 or 4.03
memory leak?<BR></FONT><BR></DIV>
<DIV></DIV><BR> Yes, and also 4.0.2 did had a memory leak that was
fixed in 4.0.3, were no leak was detected my profiling tools. So make sure you
are using 4.0.3.<BR><BR> []s<BR> Edson<BR><BR>
<DIV><SPAN class=gmail_quote>2008/1/7, Paul Smith < <A
href="mailto:paul.t.smith@gmail.com">paul.t.smith@gmail.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Also
make sure that you are either using Stateless Working Memory or if you are
using a Stateful Working Memory then make sure you're dereferencing objects. I
had a similar issue and it turned out to be me using Stateful WM when I didn't
realy need it and not dereferencing the objects. There are a number of tools
around to help to identify memory leaks. JRockit has a pretty good tool for
helping to isolate issues. That's how I isolated my issues. <BR><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://e-docs.bea.com/jrockit/docs142/userguide/memleak.html"
target=_blank>http://e-docs.bea.com/jrockit/docs142/userguide/memleak.html</A>
<DIV><SPAN class=e id=q_11752cb9e24010bd_1><BR><BR><BR><BR>
<DIV class=gmail_quote>On Jan 7, 2008 3:27 PM, Michael Rhoden < <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mrhoden@franklinamerican.com"
target=_blank>mrhoden@franklinamerican.com</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Try
setting your JVM memory higher. Drools tends to use plenty of memory<BR>as
well as perm gen space.<BR><BR>What I use:<BR>-Xmx512m
-XX:MaxPermSize=512m<BR><BR>-----Original Message-----<BR>From: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users-bounces@lists.jboss.org"
target=_blank>rules-users-bounces@lists.jboss.org</A><BR>[mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users-bounces@lists.jboss.org"
target=_blank>rules-users-bounces@lists.jboss.org</A>] On Behalf Of
heroshaojun <BR>Sent: Sunday, January 06, 2008 9:14 PM<BR>To: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org"
target=_blank>rules-users@lists.jboss.org</A><BR>Subject: [rules-users]
Drools 4.02 or 4.03 memory leak?<BR><BR>When I use profiler to test
inserting object to WorkingMemory, outmemory<BR>always occurs.<BR><BR>Who
can help me?<BR><BR>_______________________________________________
<BR>rules-users mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org"
target=_blank>rules-users@lists.jboss.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users
</A><BR><BR><BR><BR>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org"
target=_blank>rules-users@lists.jboss.org </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org
</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR> Edson Tirelli<BR> JBoss Drools Core
Development<BR> Office: +55 11 3529-6000<BR> Mobile: +55
11 9287-5646<BR> JBoss, a division of Red Hat @ <A
href="http://www.jboss.com">www.jboss.com </A></BODY></HTML>