Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-07
06:18 • Closed ticket [406042ffff]: Tcl threaded doesn´t free memory plus 6 other c... artifact: 6f7488c47a user: hobbs
2001-08-02
08:39 • Ticket [406042ffff]: 1 change artifact: 864ad1f5a2 user: hobbs
2001-05-11
05:40 • Open ticket [406042ffff]. artifact: 764ac8110d user: davygrvy
05:38 • Ticket [406042ffff]: 6 changes artifact: 09dbe8c3ab user: davygrvy
2001-04-28
10:10 • Closed ticket [406042ffff]. artifact: eb7796a4a6 user: davygrvy
2001-04-26
05:23 • Ticket [406042ffff]: 1 change artifact: 4ce19532ab user: dgp
04:39 • Ticket [406042ffff]: 4 changes artifact: 40a4458c92 user: davygrvy
2001-03-06
17:24 • Ticket [406042ffff]: 1 change artifact: 6df10d8052 user: dkf
2001-03-05
16:31 • New ticket [406042ffff]. artifact: ed18c9aa12 user: villalba

Tcl threaded doesn´t free memory

Closed / Fixed406042ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-03-05 16:31:08
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.
dkf Ticket [406042ffff]: 1 change [History diff]2001-03-06 17:24:07
davygrvyplain2001-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.
dgp Ticket [406042ffff]: 1 change [History diff]2001-04-26 05:23:46
davygrvyplain2001-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.
davygrvyplain2001-05-11 05:38:48
Logged In: YES 
user_id=7549

Until 419683's patch is applied, this stays open.
davygrvy Open ticket [406042ffff]. [History diff]2001-05-11 05:40:08
hobbs Ticket [406042ffff]: 1 change [History diff]2001-08-02 08:39:10
hobbsplain2001-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.
Log in (anonymous is fine) to add a comment.