HomePhorge

(PUP-3345) Fix memory leak / remove cache of "non-deprecation" resource
946cbd977d3dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3345) Fix memory leak / remove cache of "non-deprecation" resource

A memory leak was introduced by caching all resource types that does
not handle deprecations (all types but one). This caused the problem
because the cache was held as a class instance variable and was never
evacuated.

This changes the Puppet::Resource class to not cache non-deprecation
resources.

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU946cbd977d3d: (PUP-3345) Fix memory leak / remove cache of "non-deprecation" resource (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Oct 13 2014, 10:18 PM