[Python-Dev] extremely slow exit for program having huge (45G) dict (python 2.5.2)

Antoine Pitrou solipsis at pitrou.net
Sun Dec 21 00:25:11 CET 2008


Steve Holden <steve <at> holdenweb.com> writes:
> I believe the OP engendered a certain amount of confusion by describing
> object deallocation as being performed by the garbage collector. So he
> perhaps didn't understand that even decref'ing all the objects only
> referenced by the dict will take a huge amount of time unless there's
> enough real memory to hold it.

He said he has 64GB RAM so I assume all his working set was in memory, not
swapped out.





More information about the Python-Dev mailing list