File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ pub fn getRSS() i64 {
4646 // that this requires parsing some unstructured data
4747 @compileError ("Only available in debug builds" );
4848 }
49- var buf : [4096 ]u8 = undefined ;
49+ var buf : [1024 * 8 ]u8 = undefined ;
5050 var fba = std .heap .FixedBufferAllocator .init (& buf );
5151 var writer = std .Io .Writer .Allocating .init (fba .allocator ());
5252
5353 c .mi_stats_print_out (struct {
5454 fn print (msg : [* c ]const u8 , data : ? * anyopaque ) callconv (.c ) void {
5555 const w : * std.Io.Writer = @ptrCast (@alignCast (data .? ));
5656 w .writeAll (std .mem .span (msg )) catch | err | {
57- std .debug .print ("Failed to write mimalloc data: {}" , .{err });
57+ std .debug .print ("Failed to write mimalloc data: {}\n " , .{err });
5858 };
5959 }
6060 }.print , & writer .writer );
You can’t perform that action at this time.
0 commit comments