Thanks for the tip. I tried increasing the swap file to 10GB but still got the same memory error. I'm now considering exporting the Plone site (cos that's what it is) one piece at a time and reimporting it into a clean Plone site. Any thoughts on whether or not this is a good idea? Cheers Ben "Winterflood, Jonathan" wrote:
Hi,
Maybe you could try giving the machine more swap space (partition in Linux, file in Windows) You'd probably have performance issues, but if the import is a one-timer, it might be acceptable.
Jonathan
-----Message d'origine----- De : zope-bounces@zope.org [mailto:zope-bounces@zope.org] De la part de Jens Vagelpohl Envoyé : mardi 29 mai 2007 09:09 À : zope list user Objet : Re: [Zope] MemoryError exception when importing a zexp file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 29 May 2007, at 08:36, Ben Lobo wrote:
Hi,
I'm trying to import a .zexp file that's 1.6GB but it continually fails due to a MemoryError exception. I guess that adding more RAM would probably fix this problem but does anyone know if there's any way of getting around this sort of problem without increasing the RAM?
Short of increasing memory on that specific host you could also create a sandbox on a different machine with more RAM and then copy the database when it's done.
jens