[Zope] Internal data size limitations

Dieter Maurer dieter@handshake.de
Mon, 17 Dec 2001 21:00:10 +0100


complaw@hal-pc.org writes:
 > ... creating large amounts of objects in single transaction causes a Site Error ...
Which SiteError do you get?


 > Incidentally, I'm running Zope 2-4-3 on Linux (Debian, Potato using python
 > 1.5).  Disk space isn't a problem.  However there is only 256 MB of RAM.
Everything you change in one transaction must live inside
RAM (and swap space). Although, 256MB should be enough to create
13 k DTML documents, maybe something strange causes excessive
memory consumption.

You could try to use subtransactions (see OFS.Image.File, for an example)
or commit your transaction after every x documents:

   t= get_transaction()
   t.commit(); t.begin()

You need an external method (or other code unhindered by Zope's security
subsystem).


Dieter