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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to