cProfile taking up too much memory?

Discussion in 'Python' started by Dysgraphic Programmer, Mar 14, 2011.

  1. I am attempting to profile my project in python, but I am running out
    of memory.

    My project itself is fairly memory intensive, but even half-size runs
    are dieing with "MemoryError" when run under cProfile.

    Doing smaller runs is not a good option, because we suspect that the
    run time is scaling super-linearly, and we are trying to discover
    which functions are dominating during large runs.

    Why is cProfile taking so much memory? Can I make it take less? Is
    this normal?
     
    Dysgraphic Programmer, Mar 14, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SB
    Replies:
    0
    Views:
    377
  2. cpp4ever
    Replies:
    3
    Views:
    375
    Francesco
    Sep 8, 2009
  3. Gregory A. Beamer

    Re: SQL Query is taking too much time

    Gregory A. Beamer, Oct 15, 2009, in forum: ASP .Net
    Replies:
    0
    Views:
    426
    Gregory A. Beamer
    Oct 15, 2009
  4. Phonethics Mobile Media

    urllib2.urlopen taking way too much time

    Phonethics Mobile Media, Apr 19, 2010, in forum: Python
    Replies:
    0
    Views:
    469
    Phonethics Mobile Media
    Apr 19, 2010
  5. Shailendra

    Multiprocessing taking too much time

    Shailendra, Jul 29, 2010, in forum: Python
    Replies:
    1
    Views:
    277
    John Nagle
    Jul 29, 2010
Loading...

Share This Page