[SR-14973] withTaskGroup leaks memory for every task added to the group #57315
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
concurrency
Feature: umbrella label for concurrency language features
standard library
Area: Standard library umbrella
Environment
swift-5.5-DEVELOPMENT-SNAPSHOT-2021-07-23-a-ubuntu20.04
Additional Detail from JIRA
md5: 4b6e62352672f083453f505793e86e64
relates to:
withTaskGroup(of:)
leaks huge amounts of memory on linuxIssue Description:
Memory is malloc'ed for every task in the TaskGroup, which is never released.
The following:
Results in:
The text was updated successfully, but these errors were encountered: