Antoine Pitrou <pit...@free.fr> added the comment: > I suspect that this is due to the struct module cache, which caches > Struct instances corresponding to formats used. If that's true, > there's no real leak as such.
Well, the posted code creates 30 struct instances. That shouldn't exhaust the memory of a 8GB box (which it does here)... ---------- nosy: +pitrou type: -> resource usage versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com