Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use jemalloc memory allocator #3088

Merged
merged 1 commit into from
Mar 21, 2019
Merged

Conversation

camallen
Copy link
Contributor

@camallen camallen commented Mar 20, 2019

cut down on RAM use by using a better memory allocator - jemalloc

https://www.speedshop.co/2017/12/04/malloc-doubles-ruby-memory.html
https://brandonhilkert.com/blog/reducing-sidekiq-memory-usage-with-jemalloc/
docker-library/ruby#182
https://packages.debian.org/stretch/libjemalloc1

Review checklist

  • First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
  • If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
  • If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
  • Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

@camallen camallen requested a review from zwolf March 20, 2019 23:49
@camallen camallen merged commit bbe60cd into zooniverse:master Mar 21, 2019
@camallen camallen deleted the je-malloc-ruby branch March 21, 2019 09:55
@camallen camallen mentioned this pull request Mar 21, 2019
4 tasks
@camallen camallen mentioned this pull request Aug 18, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant