Martin v. Löwis <[EMAIL PROTECTED]> wrote: > One challenge is that PyObject_GC_Del doesn't know how large the memory > block is that is being released. So it is difficult to find out how > much memory is being released in the collection.
Another idea would be to add accounting to the PyMem_* interfaces. It could be that most memory is used by objects that are not tracked by the GC (e.g. strings). I guess you still have the same problem in that PyMem_Free may not know how large the memory block is. Neil _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com