Menu

#Buffersize

1 post

Feed
1 of 1 post
I Threw Away 786 MB of Scratch Buffers
📰
0Read More

I Threw Away 786 MB of Scratch Buffers

DEV Community: dotnet·Sukhpinder Singh·8 days ago
#u0SeczH4
#devtodotnet#devto#dev#buffersize#scratch

A hot loop that did new byte[4096] every iteration handed the GC three quarters of a gigabyte of throwaway arrays. ArrayPool took it to zero, with the allocation counters to prove it.

15s