Reported by jteh on 2010-03-08 16:37
ti = focus.virtualBuffer.makeTextInfo("all") for i in xrange(20000): t = ti.text
This happens because VBuf_getTextInRange allocates a string on the server side which is then marshalled to the client but never freed. We figured that ctypes was freeing the string when it was garbage collected by Python (which is actually incorrect, since ctypes didn't allocate it), but it seems that ctypes (correctly) doesn't do this after all.
Comment 1 by jteh on 2010-03-09 02:21
Fixed in 703bac8 with some cleanup in e226c48.