Blog

  • Archive
  • Categories
  • Tags
  • Search
  • Home
  • Tags
  • valgrind
  • How we reduced the memory usage of our Rust extension by 4x

    An out of memory bug report led us to profile the memory usage of our Rust extension. We used valgrind and heaptrack to understand the problem, and then switched from json to msgpack to reduce memory usage by 4x.

    October 09, 2023
     · 19 min read
     · Lily Foote
Powered by Pelican & Papyrus