[SR-1532] Memory leak in CharacterView.dropFirst? #44141
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
memory leak
bug: Memory leak
standard library
Area: Standard library umbrella
Environment
Snapshot of 9th of may on OSX.
Welcome to Apple Swift version 3.0-dev (LLVM dffa09ffd8, Clang 9f0d189820, Swift 1c720b8).
Additional Detail from JIRA
md5: e40f8b3d3bf6d3b4eccec3ff2e3402b8
Issue Description:
Feed the following program a file of a few bytes; and watch memory consumption steadily grow. It consumes a few GB within minutes. As the result of input.dropFirst() is unused, I would assume that it should be freed directly?
The text was updated successfully, but these errors were encountered: