| 1 | initial version |
Would it help if you were to put this at the head of your file
import gc
Then if you were to put such a line after every 1000th append statement ?
gc.collect()
It is meant to call Python's garbage collector explicitely.
Nathann
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.