-
Notifications
You must be signed in to change notification settings - Fork 745
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
Enable jemalloc by default on non windows targets #5995
Enable jemalloc by default on non windows targets #5995
Conversation
Oops looks like this doesn't work in windows, I'll look into it. |
fd90f8c
to
4fab381
Compare
With the lighthouse/lighthouse/src/main.rs Lines 53 to 59 in f1d88ba
|
…we've deprecated `jemalloc` feature.
Nice catch, updated! |
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at a910a49 |
Issue Addressed
A few discord users that build Lighthouse from source has reported high RAM usage since v5.2.0. @michaelsproul and @chong-he have found that this is due to
jemalloc
feature being disabled. This is now necessary (on linux) with the introduction oftree-states
and should always be enabled.The Dockerfile doesn't have a default for
FEATURES
:lighthouse/Dockerfile
Lines 4 to 7 in f1d88ba
From @michaelsproul
This PR removes the feature flag and enables jemalloc by default on non windows targets, even when it's not specified via
FEATURES
environment variable.