fmt: incorrect usage of sync.Pool #27740
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Performance
Milestone
Consider this snippet:
This is a variation of #23199 (comment). See that comment for why this memory leak occurs.
After the 50th GC cycle, this pins 7GiB of heap, when I expect it to use no more than 256MiB.
The text was updated successfully, but these errors were encountered: