2010/8/14, Vineet Jain <vinjv...@gmail.com>: >> After having a quick look at your code, I think the problem is precisely >> what you are suggesting: you need to get rid of the list so as to not >> bloat >> your memory unnecessarily. Keep reading for a proposed solution. > > But I don't understand why the memory keeps growing and I get an out > of memory error? I'm working on a large set of < 5 mb hd5 files. After > each loop iteration the python garbage collection should recycle the > list. What am I missing?
Don't know exactly, but here it is a guess: the Row accessor has attached I/O buffers, and maybe including them in lists may create circular references preventing the garbage collector to evict the already used item lists. -- Francesc Alted ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users