[Zope-dev] Zope reference counts
seb bacon
seb@jamkit.com
Wed, 22 Jan 2003 12:14:27 +0000
Toby Dickenson wrote:
> On Wednesday 22 January 2003 11:43 am, Ivo van der Wijk wrote:
>
>>>>Do these
>>>>references point to the same object instances, or are these copied
>>>>as well?
>>>
>>>They are independant copies
>> Is there a
>>way to optimize this?
>
>
> 1. Obviously, use fewer threads. Do you have a component that otherwise
> benefits from many threads?
Also note that it is almost always a better use of memory to increase
the cache size than the number of threads (this is the size of each
cache, not the total cache size).
Are you aware of the "activity" and "cache parameters" tab in the
"database management" part of the control panel?
If not, you may not be using a 2.6x Zope - there are some significant
improvements in cache usage (especially under load) in these versions.
Look at the Help on the cache parameters page for more info.
seb