• T. Hex@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      12 hours ago

      How about the equivalent malloc(-1)?

      Also, it’s cheap to allocate memory if you never write to it. You should follow it up with memset() if you really wanna max out your Resident Set Size 🐏