Hi,
I use twisted framework too to handle the xmlrpc request. It takes
around 3-4MB of memory while importing itself.
Is there any python coding standard I should follow to save the memory.
Like import logging takes 1MB of memory.
We only use on function getLogger by 'from logging import
Mishra Gopal-QBX634 wrote:
Hi,
I use twisted framework too to handle the xmlrpc request. It takes
around 3-4MB of memory while importing itself.
Is there any python coding standard I should follow to save the memory.
Like import logging takes 1MB of memory.
We only use on function
On 1/7/2010 3:34 AM, Mishra Gopal-QBX634 wrote:
Like import logging takes 1MB of memory.
We only use on function getLogger by 'from logging import getLogger'
But it still take the same 1 MB memory.
Instead of loading whole logging module only load the getLogger
function.
from x import y
Hi,
When i write following pyhon program and execute it in linux machine,
if __name__=='__main__':
while True:
pass
When i check the VmRSS size, it shows 2956 KB in size.
Is there any way to reduce the memory size taken by python.
I am working in flash memory devices.
Mishra Gopal-QBX634 wrote:
Hi,
When i write following pyhon program and execute it in linux machine,
if __name__=='__main__':
while True:
pass
When i check the VmRSS size, it shows 2956 KB in size.
Is there any way to reduce the memory size taken by python.
I