[ https://issues.apache.org/jira/browse/SLING-7586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Klco closed SLING-7586. --------------------------- > [Sling Models] Memory Leak in cached adapters > --------------------------------------------- > > Key: SLING-7586 > URL: https://issues.apache.org/jira/browse/SLING-7586 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Sling Models Impl 1.4.0, Sling Models Impl 1.4.2, Sling > Models Impl 1.4.4, Sling Models Impl 1.4.6, Sling Models Impl 1.4.8 > Reporter: Justin Edelson > Assignee: Dan Klco > Priority: Major > Fix For: Sling Models Impl 1.4.10 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > There is a potential memory leak in the adapterCache in ModelAdapterFactory > when the model class references the adaptable. The solution is to wrap the > model object in a WeakReference. That ensures that the model can be GC'd and > then the key can be GC'd. -- This message was sent by Atlassian JIRA (v7.6.3#76005)