Results of running this:
❯ ruby ffi.rb
Allocating 1048576 via malloc in FFI
before malloc: maxrss: 37044224
before scribble: maxrss: 37093376
after scribble: maxrss: 38141952
heap_live_slots: 48069 -> 48073 (diff: 4)
heap_free_slots: 4098 -> 4094 (diff: -4)