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);
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 !=
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
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