slowdown with massive memory usage

Istvan Albert ialbert at mailblocks.com
Fri Jul 30 11:26:07 EDT 2004


Hallvard B Furuseth wrote:

> When I moved a function to create one such dict from near the beginning
> of the program to a later time, that function slowed down by a factor
> of 8-14: 38 sec at 15M memory usage, 570 sec at 144M, 330 sec at 200M.

I suspect there is more to it than just "moving". There must be a reason
for the reorganization and... check what other things are you doing and profile
your program http://docs.python.org/lib/profile.html

Istvan.




More information about the Python-list mailing list