<br><br><div class="gmail_quote">2008/5/15 Jonathan &lt;<a href="mailto:dev101@magma.ca">dev101@magma.ca</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&quot;Encolpe Degoute&quot; &lt;<a href="mailto:encolpe.degoute@ingeniweb.com" target="_blank">encolpe.degoute@ingeniweb.com</a>&gt;<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
During a big migration process in which files are extracted from Data.fs<br>
to be put on the filesystem the Zope 2.7 server that we use always hits<br>
a MemoryError.<br>
It&#39;s not always on the same file, but always on the same call and with<br>
the same memory consumption: 2.7GB. Code below:<br>
</blockquote>
<br>
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)?</blockquote>
<div>&nbsp;<br></div><div>&nbsp;I don&#39;t know how to create such a python routine on ZODB <a href="http://3.2.5.">3.2.5.</a> Where can I can some examples of such routine?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Doesn&#39;t really answer your question, but it removes the Zope server from the equation.<font color="#888888"><br>
</font></blockquote></div><br>It&#39;s a very good idea.<br><br clear="all">Thanks<br>-- <br>Encolpe Degoute - Consultant<br>INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632<br>Bureaux de la Colline - 1 rue Royale - Bâtiment D - 9ème étage<br>
92210 Saint Cloud - France<br>Phone : 01 78 15 24 02 / Fax : 01 46 02 44 04<br><a href="http://www.ingeniweb.com">http://www.ingeniweb.com</a> - une société du groupe Alter Way