Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Sling Models Impl 1.4.0, Models Impl 1.4.2, Models Impl 1.4.4, Models Impl 1.4.6, Models Impl 1.4.8
-
None
Description
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.
Attachments
Issue Links
- relates to
-
SLING-6785 Add support for scoped lifecycle of sling models
- Closed
- links to