[rules-users] Drools Classloader Leak?

malkhafaji moe.alkhafaji at medcpu.com
Sat May 8 18:38:41 EDT 2010


Will this solve my problem:

        KnowledgeBaseConfiguration kbaseConfig =
       
KnowledgeBaseFactory.newKnowledgeBaseConfiguration(null,myClassLoader);
        knowledgeBase =
        KnowledgeBaseFactory.newKnowledgeBase(kbaseConfig); 

Will this tell the KnowledgeBase object to ONLY use the class loader that I
pass in for itself AND for its child KPs when I add them via the
addKnowledgePackage? If so, this would solve my problem, otherwise, this
performance is horrendous when I create multiple KnowledgeBase objects.

Any help would be greatly appreciated. Thank you.
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Classloader-Leak-tp784678p786375.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list