Re: analyzing memory usage of python code

2008-09-09 Thread Tomeu Vizoso
On Sun, Aug 24, 2008 at 10:09 AM, Polychronis Ypodimatopoulos
[EMAIL PROTECTED] wrote:
 Polychronis Ypodimatopoulos wrote:
 I filed #8128 to address the memory usage that seems excessive.

 I have also disabled cerebro from start-up while this is being
 investigated and the issue with blocking shutdown process (#8108).
 Should be picked up at the next version of joyride.


 Any suggestions on how to isolate the parts of some python code that
 take the most memory? It's rather impossible to start commenting out
 modules because of dependency issues.

It's impossible because of dependency cycles, but aside of that you
can execute python with -v, and from the output make a list of module
imports that reduce implicit imports to the most.

Hope that helps,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


analyzing memory usage of python code

2008-08-24 Thread Polychronis Ypodimatopoulos
Polychronis Ypodimatopoulos wrote:
 I filed #8128 to address the memory usage that seems excessive.

 I have also disabled cerebro from start-up while this is being 
 investigated and the issue with blocking shutdown process (#8108). 
 Should be picked up at the next version of joyride.
   

Any suggestions on how to isolate the parts of some python code that 
take the most memory? It's rather impossible to start commenting out 
modules because of dependency issues.

thx
p.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel