.
But when you check the use of RAM memory in your machine... (maybe with the command "top" or the command "free") don't you notice a increasing amount of RAM used without being released?
To be honest, no ... I noticed, yes, some increasing in cpu usage, but mem stays the same.
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 11760 root 15 0 590M 516M 2396 S 0.9 51.2 68:15 0 mediaproxy.py
51.2% of memory used? What version of pyhton are you using?, what OS are you using?. Thanks!
OS = Linux Red Hat 7.3 Python = Python 2.4 mediaproxy = mediaproxy.py 1.0 ser = 0.9.0
Snippet of top ( ordered by mem usage )
Mem: 191208K av, 176540K used, 14668K free, 0K shrd, 35588K buff Swap: 612352K av, 31852K used, 580500K free 37468K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 23023 root 15 0 4276 4276 3940 S 0.0 2.2 0:17 ser 27947 root 15 0 4256 4256 2188 S 0.0 2.2 0:01 python 27948 root 15 0 4256 4256 2188 S 0.0 2.2 0:00 python 27944 root 15 0 4240 4240 2080 S 0.0 2.2 22:39 python 23024 root 15 0 3852 3852 3752 S 0.0 2.0 0:00 ser 23025 root 17 0 3724 3724 3636 S 0.0 1.9 0:00 ser
Regards,
Lucas