From: MartinLemburg on 2 Jul 2010 10:29 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 2 Jul 2010 16:08 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.
|
Pages: 1 Prev: Tcl-URL! - weekly Tcl news and links (Jul 2) Next: open a channel for a text widget ? |