[Zope3-Users] How to debug a MemoryError

Jonathan dev101 at magma.ca
Thu May 15 14:19:26 EDT 2008


----- Original Message ----- 
From: "Encolpe Degoute" <encolpe.degoute at ingeniweb.com>
To: <zope3-users at zope.org>
Cc: <plone-users at lists.sourceforge.net>
Sent: Thursday, May 15, 2008 1:57 PM
Subject: [Zope3-Users] How to debug a MemoryError


> Hello,
> During a big migration process in which files are extracted from Data.fs
> to be put on the filesystem the Zope 2.7 server that we use always hits
> a MemoryError.
> It's not always on the same file, but always on the same call and with
> the same memory consumption: 2.7GB. Code below:

It sounds like you are accessing the Data.fs file via the Zope server 
(external method?). Have you tried accessing the Data.fs file directly (ie. 
make a copy of your Data.fs file and write a stand-alone python routine to 
pull the objects out and write them to the filesystem)?

Doesn't really answer your question, but it removes the Zope server from the 
equation.

Jonathan 



More information about the Zope3-users mailing list