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. Advertisements

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. Jos Vernon

    Re: ASP.NET eats memory too much

    Jos Vernon, Jul 1, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    479
    Jos Vernon
    Jul 1, 2003
  2. SB
    Replies:
    0
    Views:
    514
  3. rohit

    too much memory use

    rohit, May 22, 2007, in forum: Python
    Replies:
    2
    Views:
    297
    Tim Roberts
    May 24, 2007
  4. cpp4ever
    Replies:
    3
    Views:
    594
    Francesco
    Sep 8, 2009
  5. Phonethics Mobile Media

    urllib2.urlopen taking way too much time

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

    Multiprocessing taking too much time

    Shailendra, Jul 29, 2010, in forum: Python
    Replies:
    1
    Views:
    386
    John Nagle
    Jul 29, 2010
  7. Jim Cain
    Replies:
    1
    Views:
    370
    Yukihiro Matsumoto
    Jul 18, 2003
  8. Replies:
    3
    Views:
    342
    Michael Torrie
    Jul 18, 2013
Loading...