-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Minetest on Linux (glibc) is not able to give back freed MapBlocks to the OS #14645
Comments
I thought the problem was that glibc doesn't trim automatically... |
We can't because the performance penalty of that solution is unclear. The execution time of the trim function depend on many factors, therefore it may work very slowly under certain conditions. Fixing one corner case by creating another one doesn't sound like a good idea. |
but it wouldn't be a problem to offer something like that as an option under the advanced settings... I think it would be worth a try |
We should take care not to call |
Another solution would be to use a global |
Minetest version
Irrlicht device
No response
Operating system and version
debian and all debain based
CPU model
all models
GPU model
not importan / also a problem on servers (headless)
Active renderer
not importan / also a problem on servers (headless)
Summary
minetest dont free memory because of fragmentation like on windows
so minetest builds up a huge amount of RAM and never free any of it
Steps to reproduce
start a minetest server and keep it running for days
or start a world and user "emergeblocks" to load a huge amount of blocks ... after it finishes it never goes down again
The text was updated successfully, but these errors were encountered: