You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are using the ImageSharp MemoryAllocator to do all our array pool requests. It turns out that the default bucket sizes for the allocator we are using are quite small (6,16). We likely want to change to using ArrayPool directly, or adjust the sizes per use case.
Important ones are:
ArrayPoolTextureUpload (especially on the FrameTimeDisplay which requests thousands of these - may benefit from a local pool).
VertexBuffer, which can potentially hit the point of saturation and begin to allocate constantly.
The text was updated successfully, but these errors were encountered:
Currently we are using the ImageSharp
MemoryAllocator
to do all our array pool requests. It turns out that the default bucket sizes for the allocator we are using are quite small (6,16). We likely want to change to usingArrayPool
directly, or adjust the sizes per use case.Important ones are:
ArrayPoolTextureUpload
(especially on theFrameTimeDisplay
which requests thousands of these - may benefit from a local pool).VertexBuffer
, which can potentially hit the point of saturation and begin to allocate constantly.The text was updated successfully, but these errors were encountered: