Hi Pentarakis,

I had a quick look at your issue. I couldn't understand why you're re-adding the same rules to your KB.

Now, I redo this and add the same 100 rules again to the KnowledgeBase (2nd run). And so on.

I think that a better approach is to cache your knowledge base and get a new stateless or stateful session, whenever you need to run your rules. There's no need to re add the same rules to an existing KB before a run.

Hope that helps.

Leonardo.

On Mon, Nov 15, 2010 at 1:38 PM, Pentarakis <pentarakis@gmail.com> wrote:

Hi!

I created a new issue some days ago. I'm new to the jboss community and
therefore not sure whether I did it correctly. It seems like no one has
found it yet.

Could somebody have a look at it and could provide me feedback?

http://jira.jboss.org/browse/JBRULES-2782
http://jira.jboss.org/browse/JBRULES-2782

THANK YOU VERY MUCH IN ADVANCE !!!


Kind regards
Pentarakis
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Issue-2782-Potential-memory-leak-when-rules-are-often-reloaded-tp1904160p1904160.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users