On Nov 27, 2013, at 9:42 AM, Norbert Hartl <norb...@hartl.name> wrote:
>> And the question coming along with this: >> How long does the cache keeps objects/when are they reseted (except the >>>> VORepository current reset)? >> If I would never take a new image and never make a reset, would all objects >> remain in the image (and the database objects wold never be read)? In this >> case what about the size of the image? >> > I’m not sure on this one. I think the cache does not clean anything. The > thing about being able to load a graph I wrote above has also the constraint > that all loaded objects that are still participating in the active graph need > to be in the cache. But then the cache is a weak dictionary meaning that all > objects leaving the active graph are removed from the cache (well at GC time, > I think) I did a small test some time ago, and it confirmed that the cache is subject to garbage collection. I did not look more into detail on how and when, I just wanted to know the answer to that question ... ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile