I have written an application that is dealing with 50-100 network requests per second and the memory is constantly growing (reaching 1gb per day). The first version was in Swift, so I believed it was a Swift related issue and reported it here https://bugs.swift.org/browse/SR-14194. Then I decided to rewrite my application in Rust and surprisingly had the same memory issue. Same code runs fine on Linux. There seems to be a memory leak down the network request stack.
Example in Rust: https://gist.github.com/telcy/b1c3a444def65dd0f1d109b6a98db0f1 Example in Swift: https://bugs.swift.org/browse/SR-14194
I have reported the issue (FB9076036 & FB9725494) half a year ago and I am still waiting for a fix.
Does anyone have the same issue?