Skip to content
Tcl Source Code View Ticket
Login

View Ticket

leak of memory

Closed480938ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-12 15:14:23
I have some problems of memory leakage when I use some 
data structures as "list of list of string"
I am unable to really free the allocated memory for 
such a list.
Even after end of the procedure, the memory stays 
allocated, even if the variable is local.
In production, this memory leak can reach 40000K.

The data structure is of  this type :
{ {el1.1 el1.2 el1.3 ... } 
{el2.1 el2.2 el2.3 ... }
{el3.1 el3.2 el3.3 ... } ... }
But we notice the same phenomenon with  "array of list 
of string" and "array with two index T($i,$j)"
hobbsplain2001-11-13 07:24:31
Logged In: YES 
user_id=72656

Need more information on this bug report.  How does 
the "mem leak" size correspond to the data being chewed 
on?  Also, what version of Tcl on what platform?  Tcl 8.3.4 
passes purify clean, so I'm skeptical without more 
specifics.
Log in (anonymous is fine) to add a comment.