We are trying to use the latest version (3.2) of tclxml library in our application. Upon using the newer version of the library large memory leaks is being reported by purify. We are seeing memory leak of 16145 bytes per request sent.
I am attaching the purify log showing the details related to the memory leak. Please look into the same for details on the leak.
Please let me know your views and comments on the leak being observed.
Purify log showing huge Memory leak.
Hi, I'm having similar problems. The attached script is helping me to debug the problems. It runs some tclxml/tcldom commands in a loop and then outputs the total memory allocated by tclsh.
I think I was able to resolved some problems with the patch attached. At least the mentioned script runs without crashing and without memory leaks now.
The tcltest scripts provided with the package also run without crashing with the same success/errors as before patching.
I can provide no warranties though, because I haven't tested it thoroughly (yet).