[Zope] Zope/Cache/Memory

Andreas Jung lists at zopyx.com
Wed Dec 6 15:33:10 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On 6. Dezember 2006 14:30:40 -0500 kevin7kal <plone at kevinkal.com> wrote:

> I have a database that is just under 200K objects with plans that it will

>
> Is there a way to programmatically clear the cache during a large
> indexing to avoid out of memory errors?

You're indexing with the ZCatalog? Are you sure that you're using 
subtransactions (or savepoints as they are called now). There is a ZCatalog
parameter that controls this behavior. For large indexing operations
this might cause the OutOfMember error. When using subtransactions changes 
will be written to disk after N objects. Please check that.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFdykGCJIWIbr9KYwRAsz/AJ9kUeK+Vd8guq8EnxR+bajzKvAPGgCeNG1L
jxZ9z8CZUjYbGAsTxZmWi+A=
=YIf2
-----END PGP SIGNATURE-----



More information about the Zope mailing list