On Fri, Oct 15, 2004 at 11:16:19PM +0900, Austine Jane wrote: > I am using PersistentList to hold instances of a subclass of Persistent. > The instance of PersistentList is attached as an item in root dictionary. > > Whether I am using FileStorage or ClientStorage, the system breaks when > there are more than a dozen of items in the PersistentList. Yikes. Something is badly wrong. > Following tracebacks were made when I put in about twenty items in the list > and stopped the client and restarted the client(the durus server was still > running) to put another item. The error is reproducible and it happens > always. > > traceback 1: > > Traceback (most recent call last): > File "c:\python23\Lib\site-packages\quixote\publish.py", line 522, in > process_request > output = self.try_publish(request, env.get('PATH_INFO', '')) > File "c:\python23\Lib\site-packages\quixote\publish.py", line 457, in > try_publish > output = object(request) > [snip] > File "C:\PYTHON23\lib\site-packages\durus\file_storage.py", line 108, in > __init__ > self._build_index() > File "C:\PYTHON23\lib\site-packages\durus\file_storage.py", line 130, in > _build_index > trecord = readn(self.fp, size) > File "C:\PYTHON23\lib\site-packages\durus\file_storage.py", line 16, in > readn > s = fp.read(n) > MemoryError Would it be possible for you to provide sample code to reproduce this problem? We can try to run it on a Windows machine we have here. Neil