[ZODB-Dev] Memory out of control when *NOT* changing objects

Toby Dickenson tdickenson at devmail.geminidataloggers.co.uk
Tue Oct 12 12:04:30 EDT 2004


On Tuesday 12 October 2004 15:22, Malcolm Cleaton wrote:

> Is this a bug, or am I misunderstanding the rules of the ZODB?

Objects do not get deactivated mid-transaction, unless:
1. you explicitly deactivate one
2. you tickle the cache garbage collector. The cache will deactivate 
sufficient objects using its normal least-recently-used system.

Doing either of these has some disadvantages, which mvcc will completely 
eliminate. Im not sure if adding automatic mid-transaction cache management 
is on anyones roadmap yet.

-- 
Toby Dickenson


More information about the ZODB-Dev mailing list