[Python-Dev] Reduce memory footprint of Python

Antoine Pitrou solipsis at pitrou.net
Sun Oct 6 22:59:13 CEST 2013


On Sun, 06 Oct 2013 22:47:27 +0200
martin at v.loewis.de wrote:
> 
> Quoting Antoine Pitrou <solipsis at pitrou.net>:
> 
> > The linecache module is used implicitly by the traceback and warnings
> > module, so perhaps quite a bit more than one would imagine :-)
> >
> > I think limiting the linecache cache size would be good enough.
> 
> So what specific limit would you suggest?

Something like 50 files.

Regards

Antoine.




More information about the Python-Dev mailing list