We are seeing this HashMap (KnowledgeAgentImpl.registeredResourceMap) keeps growing when a pkg is updated. It looks like creating more CompositeClassLoader and not removing the old rule references. So it causes KnowledgeAgentImpl use large memory. We are using 5.5.0.final. I am attaching an image from memory analyzer to show how the HashMap holds up multiple CompositeClassLoader and they are using about 230MB of memory. It increases when the pkg gets updated with about 150 rules.

View this message in context: KnowledgeAgentImpl registeredResourceMap memory issue
Sent from the Drools: User forum mailing list archive at Nabble.com.