My large Django application is taking up 30-60 MB of RAM while running, and up to 40% CPU. How can I monitor and profile my application on the fly to determine where my potential memory and cpu leaks are?
            Asked
            
        
        
            Active
            
        
            Viewed 4,429 times
        
    5
            
            
        - 
                    turning on debug mode will not display cpu or memory profiling. – Carson Mar 18 '13 at 17:26
 - 
                    The idea was if debug was true, this will cause lots of performance problems. – Burhan Khalid Mar 18 '13 at 21:02
 - 
                    ah. debug is off, but thanks! – Carson Mar 18 '13 at 21:44
 
1 Answers
3
            
            
        Take a look at this: profiling Django, might come handy. There is also a link to hotshot, which I used in the past. I was able to improve some stuff with hotshot. Also newrelic can be useful.
Some similar questions:
        Community
        
- 1
 - 1
 
        PepperoniPizza
        
- 8,842
 - 9
 - 58
 - 100