Categories
Uncategorized

Most Memory Leaks are Good

most memory leaks are good

Creative Commons photo by Michael Vroegop. Click here to see the original.

Over at the Shopify Technology Blog, Shopify developer Jesse Storimer says that Most Memory Leaks are Good. Here’s the “tl; dr” summary of his article:

Catastrophe! Your app is leaking memory. When it runs in production it crashes and starts raising Errno::ENOMEM exceptions. So you babysit it and restart it consistently so that your app keeps responding.

As hard as you try you don’t see any memory leaks. You use the available tools, but you can’t find the leak. Understanding your full stack, knowing your tools, and good ol’ debugging will help you find that memory leak.