Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
$ swiftc --version
Swift version 5.6-dev (LLVM ca88d53176e346a, Swift a382f58)
on my machine, the following test program leaks over 3.5 GB of memory per second:
func main() async
await withTaskGroup(of: Void.self)
$ swiftenv local DEVELOPMENT-SNAPSHOT-2021-09-07-a
$ swiftc -parse-as-library -O taskgroup.swift
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:
Sorry, something went wrong.
Thanks, it’s definitely unexpected… will dig into it.
Thanks a lot for reporting!
Fixed by #39295
No branches or pull requests