[rules-users] IllegalStateException happens when ResourceChangeScanner working on Version 5.3.0.CR1

2011-10-04 Thread Oliver Liu
Hi Guys, I want to upgrade drools from 5.1.1 to 5.3.0 CR1, but i found ResourceChangeScanner could't work. In version 5.1.1, i wrote this code to get a KnowledgeAgent KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent(ReleaseAgent);

Re: [rules-users] OutOfMemoryError happens when dynamic loading of Rules from Guvnor frequently

2011-06-22 Thread Oliver Liu
I read the source code of org.drools.agent.impl.KnowledgeAgentImpl, in this segment private void rebuildResources(ChangeSetState changeSetState) { ... /* * Rebuild a new knowledge base. Try to use the old configuration if * possible */ if (this.kbase !=

Re: [rules-users] OutOfMemoryError happens when dynamic loading of Rules from Guvnor frequently

2011-06-20 Thread Oliver Liu
Any idea is appreciated, it's critical for my project. Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/OutOfMemoryError-happens-when-dynamic-loading-of-Rules-from-Guvnor-frequently-tp3079965p3088701.html Sent from the Drools: User forum mailing list archive at

[rules-users] OutOfMemoryError happens when dynamic loading of Rules from Guvnor frequently

2011-06-18 Thread Oliver Liu
I am using Drools 5.1.1 to design our rule engine, the rule engine need to dynamic loading of rules from Guvnor because our marking team need to change the rules frequently(about 40~100 times every day), we have over 5000 rules in Guvnor. This is my code ahout that: public KnowledgeBase