I've been chasing out of memory issues in for literally years at this point. Every 2-3 weeks I've needed to restart my app (lest I leave it to crash from running out of memory).

I've tried every trick in the book to find the "memory leak", and while I've made a few improvements, nothing has stopped the continual climb of memory use.

That is until a month ago. I gave jemalloc (an alternative memory allocator) a try.

The result? 30+ days of uptime with 11GB of RAM to spare ๐Ÿ˜Ž

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/jgayfer/statuses/114802543227779228 on your instance and quote it. (Note that quoting is not supported in Mastodon.)