[SR-15175] withTaskGroup(of:)
leaks huge amounts of memory on linux
#57498
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
$ swiftc --version
Swift version 5.6-dev (LLVM ca88d53176e346a, Swift a382f58)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: f1817e9d7d79ccaf4ae2040ad5ed80ce
relates to:
Issue Description:
on my machine, the following test program leaks over 3.5 GB of memory per second:
this issue only occurs with linux builds. macos builds do not leak memory as far as i have observed.
please note: unlike SR-14973, this memory leak occurs even when no tasks are added to the task group.
The text was updated successfully, but these errors were encountered: