Open amsmota opened 5 months ago
@amsmota I think it would be great if you could do a PR for this
I will. Thanks... 👍
@amsmota I think it would be great if you could do a PR for this
Hi @macfarla, I opened the PR already, see above.
Thanks. 👍
Hi @macfarla, @non-fungible-nelson, I merged the current main branch into my branch, and it created a new PR (see below). Can youse please review it and hopefully approve it?
Many thanks.
Cheers.
Description
As an Developer/Devops/Tester, I want to enable/disable the use of jemalloc when starting Besu so that I can easily test performance with/without jemalloc and be able to start without jemalloc if there is a memory issue on startup.
Acceptance Criteria
Versions
Implementation
I was able to implement and test this feature by reusing the
BESU_USING_JEMALLOC
env var, with changes in the initial besu start script and a few lines in ConfigurationOverviewBuilder.If set,
BESU_USING_JEMALLOC=true
will load jemalloc, if set to anything else it won't. IfBESU_USING_JEMALLOC
is not set at all it'll load it too (that is the existing behavior).If enough people think this is useful I am ready to create a PR.