J. David Ibanez wrote at 2004-5-21 16:50 +0200: > >No, I don't use TranslationService. A quick glance at the code shows >that TS uses several caches (dictionaries) which are stored in the request >object: "_localizer_placeful_mc_cache", "_translation_service_cache" >and "_ts_domain_cache". > >The values of these dictionaries are acquisition wrappers (objects returned >by "unrestrictedTraverse" or explicitly built). Maybe the leak is there.
When these dictionaries are held in "other" (or "form" or "Lazy"), then there is no problem -- as "other" is explicitly clear when the request is closed. However, when they are (direct) attributes of the request object, then they will form cycles which almost surely cause leakage. -- Dieter _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )