Islandora/islandora — pull request #70 by nigelgbanks (2012-02-02 18:00:54+00:00)
Title: Added a function for forgetting a object when memory constraints apply.

The Fedora_Item class has a built in cache, that stores all Fedora_Items's that have been instantiated. These objects are stored in a static array within the class. I've added a new function for removing the instantiated object from the static array.

This is required when long running processes that instantiate 1000's of pids. When doing so users of the Fedora_Item class who are aware of memory constraints can remove the instantiated objects to prevent memory leaks that would otherwise bring down the http process.