4 ms·
Did you check to see what happened when you used jemalloc?
by wlll 5y ago
Did you check to see what happened when you used jemalloc?
- FooBarWidget 5y agoThe bloat went away and memory usage became much more "normal".
- wlll 5y agoThat's what we see in our app, and I used to see all the time in others (I was a performance and scaling consultant for years). It's trivial to use jemalloc on heroku, so you may as well, and after that it's mostly preventing too much loading of AR objects.
- jrochkind1 5y ago> It's trivial to use jemalloc on heroku Can you share the method you are using to do it? Not challenging, actually answering. Googling I'm not sure which thing I'm finding is the trivial one you use/recommend.
- wlll 5y agoSure thing! This is what we use: https://elements.heroku.com/buildpacks/gaffneyc/heroku-buildpack-jemalloc https://elements.heroku.com/buildpacks/gaffneyc/heroku-build...