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

significantly reduce ruby memory usage by setting default env variable MALLOC_ARENA_MAX=2 #663

Merged
merged 2 commits into from
Nov 7, 2022

Conversation

flybayer
Copy link
Contributor

@flybayer flybayer commented Nov 7, 2022

Setting MALLOC_ARENA_MAX=2 is basically an essential for ruby apps to not have crazy memory usage. Heroku buildpacks set it by default.

We saw people migrating from Heroku to use nixpacks were having way worse memory usage.

@ghost ghost added the release/patch Author patch release label Nov 7, 2022
@coffee-cup coffee-cup merged commit 3dbc402 into railwayapp:main Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Author patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants