Turns out using Python 2.7 does not make you entirely immune to memory leaks: http://t.co/9vbgL2dDMJ (fixed in 2.7.4)