How to evaluate the memory usage of a python program?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel Mark

    #1

    How to evaluate the memory usage of a python program?

    Hello all:

    I have a python program and would like to find out the maximum memory
    used
    by this program.

    Does Python provide such module so I could check it easily?




    Thank you
    -Daniel

  • MrJean1

    #2
    Re: How to evaluate the memory usage of a python program?

    Iff you are using Python on Linux, here is one option which may work
    for you

    <http://aspn.activestat e.com/ASPN/Cookbook/Python/Recipe/286222>

    /Jean


    Daniel Mark wrote:
    Hello all:
    >
    I have a python program and would like to find out the maximum memory
    used
    by this program.
    >
    Does Python provide such module so I could check it easily?
    >
    >
    >
    >
    Thank you
    -Daniel

    Comment

    Working...