[Twisted-Python] Way to fix memory leaks of external c module
Itamar Turner-Trauring (aka Shtull-Trauring)
itamar at itamarst.org
Sat Nov 28 07:18:52 MST 2009
On Sat, 2009-11-28 at 15:05 +0200, MārisR wrote:
> I wondering if its possible to load utidylib in thread, do processing
> and after this kill thread and release memory? Or maybe something like
> deferToProcess?
1. You should report the bug to the utidylib authors, so they can fix it
or pass it on to tidy authors.
2. A thread wouldn't help... but a process certainly would.
https://launchpad.net/ampoule may be helpful if you don't want to
implement your own process wrapper, or you could just run a sub-process
that takes input and output filenames on the command-line and pass data
around that way.
More information about the Twisted-Python
mailing list