Thanks for your post because it caused me to look at my log file a little closer for some new TCL code I wrote.
Just so happens I discovered I had overlooked a memory leak because I called
grmcreate
and overlooked doing a corresponding
grmdestroy
to clean up the allocated handle before exiting my TCL proc.
On the hopes your memory leak could be similar, try searching your TCL procs for
grmcreate
and make sure if any occurrences of grmcreate are found that you make sure there is a corresponding call to
grmdestroy
to clean up the allocated handle before exiting the TCL proc
Here is an example of the extra line of code I ended up adding to solve my problem before exiting the TCL proc
if {[info exists ghd]} {grmdestroy $ghd}
For those that are curious here are lines from the log file that let me know I had a leaked handle
Russ Ross
RussRoss318@gmail.com