Memory leak in python

Abhishek S abhishek216 at yahoo.com
Tue Apr 19 07:58:18 EDT 2005


Hi,

using python2.2.2

I am seeing that the python application is very slowly
eating up the memory. i need help to indentify it.

It start with 11MB and keeps growing by 1 MB around
every 30mins.

#top | grep python
10351 root      15   0 26584  25M  3896 S     0.5  0.8
 46:05   1 python2
10351 root      15   0 26592  25M  3896 S     3.5  0.8
 46:06   1 python2
10351 root      15   0 26596  25M  3896 S    30.9  0.8
 46:07   0 python2
10351 root      15   0 26608  25M  3896 S    73.0  0.8
 46:11   0 python2
10351 root      15   0 26612  25M  3896 S    73.2  0.8
 46:15   0 python2
10351 root      15   0 26616  25M  3896 S    78.6  0.8
 46:18   1 python2
10351 root      15   0 26620  25M  3896 S    78.4  0.8
 46:22   1 python2
10351 root      15   0 26620  25M  3896 S    77.4  0.8
 46:26   1 python2
10351 root      15   0 26620  25M  3896 S    73.2  0.8
 46:30   1 python2
10351 root      15   0 26620  25M  3896 S    65.8  0.8
 46:33   1 python2
10351 root      15   0 26620  25M  3896 S    43.3  0.8
 46:35   1 python2
10351 root      15   0 26620  25M  3896 S    53.8  0.8
 46:38   1 python2
10351 root      15   0 26620  25M  3896 S    26.3  0.8
 46:39   1 python2
10351 root      15   0 26636  26M  3896 S    33.5  0.8
 46:41   1 python2
10351 root      15   0 26640  26M  3896 S    25.7  0.8
 46:42   1 python2
10351 root      15   0 26656  26M  3896 S    23.9  0.8
 46:44   1 python2
10351 root      15   0 26656  26M  3896 S    11.7  0.8
 46:44   1 python2
10351 root      15   0 26660  26M  3896 S    10.7  0.8
 46:45   1 python2
10351 root      15   0 26668  26M  3896 S     3.7  0.8
 46:45   1 python2
10351 root      15   0 26668  26M  3896 S     1.7  0.8
 46:45   1 python2
10351 root      15   0 26668  26M  3896 S     0.7  0.8
 46:45   1 python2
10351 root      15   0 26668  26M  3896 S     0.3  0.8
 46:45   1 python2
10351 root      15   0 26684  26M  3896 S     4.5  0.8
 46:45   1 python2
10351 root      15   0 26688  26M  3896 S     2.1  0.8
 46:45   1 python2

let me know how to approch this.
gc.collect - does not collect anything.


Thanks,
Abhishek

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Python-list mailing list