Tcl Source Code

View Ticket
Login
Ticket UUID: 2946857
Title: Memory leaks
Type: Bug Created on: 2010-02-05 23:37:32
Submitter: sergc Assigned to: jan.nijtmans
Subsystem: 49. Threading Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:25
Status: Closed Closed by: serhiy.storchaka
Resolution: Out of Date Closed on: 2026-10-12 18:46:12
Version: None
Description:
ActiveTcl 8.5.8
Windows XP SP2

Every time a new thread is launched and exits normally about 150k leaks. test3 in the attachment illustrates this situation. Memory was monitored with Windows Process Manager.
Another script (test4) uses one thread all the time and does not expose significant leaks.
User Comments:
sergc added on 2010-02-06 06:37:32:

File Added - 361813: tests.zip

dgp added on 2014-10-09 13:59:50:
Many leaks plugged since 2010.  Status on this one?

aku added on 2014-10-09 16:56:25:
Jan, can you have a look at this here and validate if it still happens or not ?

serhiy.storchaka added on 2026-10-12 18:46:12:

Threads that exit normally no longer leak on Windows with 8.6.18 and 9.1 (Thread 2.8.13 and 3.0.7): memory stays flat over 5000 threads. The remaining leak with joinable threads that exit before being joined is [3381371].


Attachments: