Extracting results from a large hotshot profile
Mike C. Fletcher
mcfletch at rogers.com
Mon Jan 16 11:16:54 EST 2006
Brian Cole wrote:
...
>I did a hotshot profile. To make this profile took
>about a day. However, I've been trying to extract results from the
>profile for the past two days. It's eating up all the memory (2G
>memory) on the machine and is slowing sucking up the swap space
>(another 2G).
>
>I'm hesitant to kill it for I might get results out of it some day
>(even if I may have to bequeath them to my grand-children), but is
>there a better way to do this?
>
>
...
>The profile is 355 MB large. Is there anything I can do to extract that data?
>
>
You might want to try my RunSnakeRun utility:
http://www.vrplumber.com/programming/runsnakerun/
It's designed to load large hotspot runs. I've never had a 355 MB one,
but I regularly load 140+MB ones on a desktop 1GB machine. It does an
incremental load, so you start to see results as soon as it starts
running and continues loading the data-set in the background (it can
take quite a while for the full data-set to load, but I don't *think* it
should run out of RAM).
In case you don't want the GUI, the package includes the core
hotshotreader module that actually does the incremental loading, you
could use that to produce a view by writing code to display the results
statically.
HTH,
Mike
--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
More information about the Python-list
mailing list