On Monday, 17 August 2015 at 19:38:21 UTC, Steven Schveighoffer wrote: >> // if the GC kicks in here we're f***** >> GC.addRange(mem, 512); > > Can't you GC.disable around this whole thing? GC.collect can still be called from another thread.