From: MartinLemburg on
Hi,

just a question ...

.... we have a C++ application embedding a tcl interpreter ...
.... how can we determine the amount of memory claimed by tcl?

Thanks in advance!

Martin Lemburg
PS.: Please - don't argue about embedding tcl in C++! ;)
From: Donal K. Fellows on
Martin Lemburg wrote:
> ... we have a C++ application embedding a tcl interpreter ...
> ... how can we determine the amount of memory claimed by tcl?

If you can build Tcl with memory debugging enabled (a compile-time
option), the [memory] command will exist and can provide that
information and much more.

See http://www.tcl.tk/man/tcl8.5/TclCmd/memory.htm for how to use.

Donal.