Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [2946857fff] Memory leaks status still Closed with 3 other changes artifact: 7f0380a775 user: serhiy.storchaka
2026-10-12
18:46 • Closed ticket [2946857fff]. artifact: 8d39742402 user: serhiy.storchaka
2015-05-01
14:02 • Pending ticket [2946857fff]. artifact: 96f4205687 user: dgp
2014-10-09
16:56 • Ticket [2946857fff]: 4 changes artifact: b1522be513 user: aku
13:59 • Ticket [2946857fff]: 7 changes artifact: cf5cdb96a1 user: dgp
2010-02-06
06:37 • Add attachment tests.zip to ticket [2946857fff] artifact: 6fb11d3c9d user: sergc
06:37 • Ticket [2946857fff] Memory leaks status still Open with 4 other changes artifact: 6748e25c21 user: sergc
2010-02-05
23:37 • New ticket [2946857fff]. artifact: abd11c985f user: sergc

Memory leaks

Closed / Out of Date2946857fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 41 days ago
Descriptionplain2010-02-05 23:37:32
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.
sergcplain2010-02-06 06:37:32
File Added - 361813: tests.zip
dgpplain2014-10-09 13:59:50
Many leaks plugged since 2010.  Status on this one?
akuplain2014-10-09 16:56:25
Jan, can you have a look at this here and validate if it still happens or not ?
dgp Pending ticket [2946857fff]. [History diff]2015-05-01 14:02:36
serhiy.storchakawiki2026-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].

serhiy.storchaka Ticket [2946857fff]: 3 changes [History diff]2026-10-22 17:19:25
Log in (anonymous is fine) to add a comment.

Attachments: