I've run into an issue where the reuse of a TCL array (to hold query results) causes a catastrophic memory leak. The "eval" command is called with the same array name again and again. Each successive query / array population exponentially consumes more and more memory (until the system crashes).
Since "eval" is responsible for the array creation, it seems to me that it should be responsible for calling "array unset" before it populates the data. When I call "array unset" myself, everything works as expected. Perhaps this is the expected behavior, however I was unable to find anything in the documentation regarding it. Would anyone care to comment? Regards, Al Braga