Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [1056311fff] async-4.3: huge memory hog status still Closed with 3 ot... artifact: 57db8ac7b0 user: serhiy.storchaka
2026-10-19
11:58 • Closed ticket [1056311fff]. artifact: 901b31a4b0 user: serhiy.storchaka
2026-10-17
06:24 • Ticket [1056311fff]: 4 changes artifact: c58d1b3f85 user: serhiy.storchaka
06:23
Fix the knownMsvcBug constraint in async.test, inverted since [c0c61fa7cf]: async-4.3 ran only on MS... closed check-in: fdf3d4acf3 user: serhiy.storchaka tags: async-test-msvc-constraint
2009-11-02
12:22 • Ticket [1056311fff] async-4.3: huge memory hog status still Open with 1 othe... artifact: 6a456d3f53 user: mistachkin
12:22 • Ticket [1056311fff]: 4 changes artifact: d62b150009 user: mistachkin
2008-12-22
18:38 • Ticket [1056311fff]: 1 change artifact: a81ec50a18 user: dkf
2006-10-21
02:03 • Ticket [1056311fff]: 4 changes artifact: 6b1ba83868 user: wliao
2005-01-26
21:51 • Ticket [1056311fff]: 5 changes artifact: 73abd4d6a2 user: dgp
2005-01-14
21:29 • Ticket [1056311fff]: 1 change artifact: a0e9744f4b user: dkf
2004-10-28
18:41 • New ticket [1056311fff]. artifact: 5eca41dd7f user: dgp

async-4.3: huge memory hog

Closed / Fixed1056311fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 41 days ago
Descriptionplain2004-10-28 18:41:28
The test async-4.3 consumes very
large amounts of memory, and on
underpowered systems can cause
a `make test` to fail.
Referenced by1
  • fdf3d4acf3Fix the knownMsvcBug constraint in async.test, inverted since [c0c61fa7cf]: async-4.3 ran only on MSVC builds, where it is known to fail, and was skipped everywhere else. See [3544685fff] and [1056311fff]. check-in2026-10-17 06:23:12
dkf Ticket [1056311fff]: 1 change [History diff]2005-01-14 21:29:45
dgpplain2005-01-26 21:51:51
Logged In: YES 
user_id=80530

davidw expressed interest
in this issue on the chat.
wliaoplain2006-10-21 02:03:24
Logged In: YES 
user_id=863965

For my tests, I had to make the string repeat value smaller.
The original value took so long to run and used so much
memory that it masked the failure of the underlying test.
dkf Ticket [1056311fff]: 1 change [History diff]2008-12-22 18:38:34
mistachkinplain2009-11-02 12:22:12
This bug is not a duplicate of 1774689; however, they are related and will both be fixed at the same time.  This test and the underlying C code is going to need major revision(s).
mistachkin Ticket [1056311fff]: 1 change [History diff]2009-11-02 12:22:13
serhiy.storchakawiki2026-10-17 06:24:49

Since [c0c61fa7cf] async-4.3 runs only on MSVC builds (the knownMsvcBug constraint was inverted), so it did not use memory elsewhere; fixed in branch async-test-msvc-constraint. The memory is for compiling the 1500000 commands. With 150000 they run in 0.7 ms here, less than the 1 ms after which [testasync marklater] fires the event, so the test would no longer check the delivery inside the sequence.

serhiy.storchaka Closed ticket [1056311fff]. [History diff]2026-10-19 11:58:16
serhiy.storchaka Ticket [1056311fff]: 3 changes [History diff]2026-10-22 17:19:27
Log in (anonymous is fine) to add a comment.