Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Use jemalloc for ruby 2.3.1 PRSI-1555 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waysidekoi
Copy link
Contributor

This PR opts to build a docker image for Ruby 2.3.1 using the jemalloc library as suggested here: https://www.levups.com/en/blog/2017/optimize_ruby_memory_usage_jemalloc_heroku_scalingo.html.

The PRS application noticed that Sidekiq was eating an uncontrollable amount of memory. In an attempt to address this, try a different library for memory allocation

@robincurry
Copy link
Member

super interested to hear how this goes @waysidekoi

@waysidekoi
Copy link
Contributor Author

me too :)

@waysidekoi
Copy link
Contributor Author

has platform tried it?

@robincurry
Copy link
Member

we haven't. we're currently using monit to restart sidekiq processes when they get too big.

@waysidekoi
Copy link
Contributor Author

So far so great:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants