We’ve added a new panel in the metrics page of the apps dashboard to show swap usage. How an app utilizes memory can be tricky to reason about, especially so with swap. We hope that with this added panel, it’ll be easier to see 1. if swap has been enabled on your app and 2. how swap is being used in your app.
Swap is the virtual space on a disk used when physical RAM is full, and is an incredibly useful method to prevent an OOM. You’ve likely heard us recommend it ALOT in the forums as a way to mitigate OOM issues on apps. It’s a really neat trick to optimizing memory without having to scale up your VM unless you really have to (which is probably still the better option in many instances).
With this new metric, you can now see how and if swap is being used in your apps. Additionally, we’ve added a handy dandy tooltip so you can configure swap on your own apps if you haven’t already done so and wish to.