Hello Rémi, A Dimecres 25 Gener 2006 14:48, [EMAIL PROTECTED] va escriure: > I have still not managed to solve my problem. To my mind the garbage > collector is culprit in some way, but I can't figure out how. > I join to this mail a patch to be used on "pytables-1.3-ds-devel", hoping > that you or someone else would have a look at my work, and would find > what's going wrong.
Unfortunately enough, I can't dedicate much time to debugging this. The only I can say is that dealing with the garbage collector is not a nice thing. My advise is that, if you strongly suspect of the garbage collector subsystem, a good technique that has proven to be good for us is to replace some references to other PyTables objects by properties that keeps the complete path to the node in a instance variable so that when the programmer wants to make use of that property, the code on it will use File.getNode() to retrieve it. Of course, you should translate this example to your own scenario. You may also want to use weak references in order to not increase the number of 'strong' references. Sorry for not being able to be more concrete. BTW, in order to make your code more accessible to other people, I'd recommend you to create a bazaar-ng local branch and make it accessible to others. Anyway, I've uploaded your last bunch of patches into the std-dimension-scales branch of PyTables SVN repository. In case anyone wants to have a look at it, you can download it with: svn co http://pytables.carabos.com/svn/pytables/branches/std-dimension-scales Salut, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
