I experienced this when using tink_http to handle a large file upload.
import tink.Chunk;
import haxe.io.Bytes;
class Main {
static function main() {
var bytes = Bytes.alloc(256);
var chunk:Chunk = Chunk.EMPTY;
for(i in 0...10000) chunk = chunk & bytes;
var out = Bytes.alloc(chunk.length);
chunk.blitTo(out, 0);
}
}
I experienced this when using tink_http to handle a large file upload.