Tcl Source Code

View Ticket
Login
Ticket UUID: 406042
Title: Tcl threaded doesn´t free memory
Type: Bug Created on: 2001-03-05 16:31:08
Submitter: villalba Assigned to: hobbs
Subsystem: 49. Threading Severity:
Priority: 5 Medium Last modified: 2001-08-07 06:18:48
Status: Closed Closed by: hobbs
Resolution: Fixed Closed on: 2001-08-06 23:18:48
Version: None
Description:
I have compiled tcl in multithread modus, i.e. with  
the option -DTCL_THREADS=1, in Windows-NT and the  
simply act "interp delete [interp create]" doesn´t  
free all the used memory. It´s viewable watching the  
memory in the task manager while executing "for {set 
i  0} {$i < 5000} {incr i} {interp delete [interp  
create]}". This doesn´t happen with tcl compiled  
without the option -DTCL_THREADS=1.
User Comments:
davygrvy added on 2001-04-26 04:39:21:
Logged In: YES 
user_id=7549

might be related to a missing mutex clean-up.

See https://sourceforge.net/tracker/index.php?
func=detail&aid=414419&group_id=10894&atid=110894

for a possible fix.

davygrvy added on 2001-04-28 10:10:38:
Logged In: YES 
user_id=7549

Neet..   Not a problem with the patch from 
https://sourceforge.net/tracker/index.php?
func=detail&aid=419683&group_id=10894&atid=110894

applied.  I'll call this fixed.

davygrvy added on 2001-05-11 05:38:48:
Logged In: YES 
user_id=7549

Until 419683's patch is applied, this stays open.

hobbs added on 2001-08-07 06:18:48:
Logged In: YES 
user_id=72656

The mem leak has been fixed, but 419683 is open with the 
other potential fixes.  This is in 8.4a3 cvs.