[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Outrageous memory usage with cElementTree



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was trying to figure out why my small python application was using
outrageous amounts of memory on FC5 and managed to track it down to a
single anonymous rw mapping that's 32380K.  It only gets mapped after
importing cElementTree but I can't figure out why.  It doesn't happen
under FC4 or FC3.  Is this memory actually used or is it another
artifact of Linux's often questionable RSS statistics?  32MB is a lot of
memory to be using for no apparent reason, especially as it is
per-process unshared memory.  It's particularly vexing using mod_python
and kid (which uses cElementTree, if available) as it means that every
single httpd process uses ~50MB base memory, which is ridiculous.


- --
Shahms E. King <shahms shahms com>
Multnomah ESD

Public Key:
http://shahms.mesd.k12.or.us/~sking/shahms.asc
Fingerprint:
1612 054B CE92 8770 F1EA  AB1B FEAB 3636 45B2 D75B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFENs2//qs2NkWy11sRAjInAJ9hXBP8Yc2WrGJ4haBUzaK9EmipSwCgkgg2
Dv/WufOMY8c8Ce7qkkyR5CI=
=Laie
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]