Version 5 of Why does Tcl leak memory?

Updated 2005-07-21 16:34:15

It doesn't, with rare exceptions.

[Details.]

TCT takes memory leaks [ref] very seriously. Few ever escape into a release, and few known ones survive long.

However, there are at least an order of magnitude more perceived memory leaks. These result mainly from two causes:

  • mis-measured memory use
  • userland, or application-level, memory leaks.
  • not cleaning up Tcl global vars such as the http package token returned from a getURL.

[More explanation.]

[Pertinent post2 [L1 ] [L2 ] by tclguy on Tcl's allocator, high-water marking, ...]


Also of interest: