1.6MB is not a ton of GC pressure, unless you're on an old/underpowered machine of some kind
precompute the result and store it on the server, or have the client start computing the value before the user actually needs it
Spawn a separate .NET program that only computes the value and nothing else and it will probably be done before needing a GC
Also, background and concurrent GC have been available for a few years now. if the client still freezes from time to time, maybe look into that.
precompute the result and store it on the server, or have the client start computing the value before the user actually needs it
Spawn a separate .NET program that only computes the value and nothing else and it will probably be done before needing a GC
Also, background and concurrent GC have been available for a few years now. if the client still freezes from time to time, maybe look into that.
Last edited: