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.

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/KnowledgeAgentImpl-registeredResourceMap-memory-issue-tp4029216.html">KnowledgeAgentImpl registeredResourceMap memory issue</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>