It's bad form to just say "set this variable to this value" without any explanation about what that variable does and why that value helped.
Your configuration may not work or may be detrimental for others.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
It's bad form to just say "set this variable to this value" without any explanation about what that variable does and why that value helped.
Your configuration may not work or may be detrimental for others.
If you click the source linked, you can read through all the details.
The linked source also doesn’t explain what the env variable actually does or why it fixes anything.
PS: Reddit doesn't allow edit post titles, needed to repost
But this is Lemmy.
OP didn't update their repost bot to understand what it's reposting.
What does it do?
The value of this tunable is the minimum size (in bytes) of the top-most, releasable chunk in an arena that will trigger a system call in order to return memory to the system from that arena.
https://www.gnu.org/software/libc/manual/html_node/Memory-Allocation-Tunables.html
MALLOC_MMAP_THRESHOLD_
is an environment variable that sets the size threshold for using the mmap
system call to allocate memory instead of using the heap.
mmap
is used.