MT 0.4.17.1 Memory

MT 0.4.17.1 Memory

Postby aristotle » Mon Feb 25, 2019 1:16 am

I am creating from scratch a new map using Minetest game and in which the only mods I have currently installed are a few mapgens:
    aotearoa
    australia
    ethereal
    lumpng
    other_worlds
    snow
When lumpng started appearing, the map started crashing complaining about using something around 1000 GB of RAM.
Being the pc plenty of RAM (32 GB) I am just looking for a way to make it use some of the other available gigs. Any suggestion?

EDIT:
This is of course an experimental map to explore some of the possible biomes and to learn more about their features and capabilities.
aristotle
Member
 
Posts: 74
Joined: Wed Mar 14, 2018 11:40 pm
GitHub: askotos
In-game: aristotle

Re: MT 0.4.17.1 Memory

Postby Festus1965 » Mon Feb 25, 2019 2:07 am

this OOM ?
Festus1965
Member
 
Posts: 914
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer

Re: MT 0.4.17.1 Memory

Postby jas » Mon Feb 25, 2019 6:19 am

I think if you use a Minetest compiled with regular Lua and not LuaJIT, then it will work but be slower?
jas
Member
 
Posts: 346
Joined: Mon Jul 24, 2017 6:15 pm
GitHub: jastevenson303
In-game: jas

Re: MT 0.4.17.1 Memory

Postby Festus1965 » Mon Feb 25, 2019 6:58 am

jas wrote: regular Lua and not LuaJIT, then it will work but be slower?


I tried that on my server, from 0.4.16 LuaJit (stopped OOM about 1055 after 21-24 hours) to 0.4.17.1 with LUA (there stopped with 4000 about, after near 36 hours), and not seen really a speed problem - the better solution is just to turn some of the most Memory mods instead ... but now at version 5.0.0-rc2 running it didn't happen yet. (OOM)
Festus1965
Member
 
Posts: 914
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer

Re: MT 0.4.17.1 Memory

Postby aristotle » Mon Feb 25, 2019 7:43 am

@Festus1965
@jas

Thank you guys for suggesting the possible approaches and solutions! ;)
aristotle
Member
 
Posts: 74
Joined: Wed Mar 14, 2018 11:40 pm
GitHub: askotos
In-game: aristotle

Re: MT 0.4.17.1 Memory

Postby Fixer » Mon Feb 25, 2019 7:35 pm

Try this GC64 build that avoids memory problems: https://kitsunemimi.pw/tmp/minetest-0.4 ... 4-win64.7z

Or use minetest with regular lua, by default minetest uses luajit that can only use 1gb of RAM.
Fixer
Member
 
Posts: 887
Joined: Sun Jul 31, 2011 11:23 am
In-game: Fixer

Re: MT 0.4.17.1 Memory

Postby aristotle » Sun Mar 24, 2019 10:39 pm

Fixer wrote:Try this GC64 build that avoids memory problems: https://kitsunemimi.pw/tmp/minetest-0.4 ... 4-win64.7z

Or use minetest with regular lua, by default minetest uses luajit that can only use 1gb of RAM.


Thank you! I will definitely investigate the second option!
(I cannot try the first one because I am running 100% GNU/Linux systems)
aristotle
Member
 
Posts: 74
Joined: Wed Mar 14, 2018 11:40 pm
GitHub: askotos
In-game: aristotle

Re: MT 0.4.17.1 Memory

Postby Festus1965 » Sun Mar 24, 2019 11:10 pm

so far, it depends not on 0.4.x or 5.0.0 mtserver,
as lua and luajit are basic same with own memory area limited to lua 2GB and luajit 1GB

there are 3 ways,
* accept OOM and automatic restart, anyway happen with lua also, just later
* use LuaJIT and enjoy better speed, even Luajit uses less memory at same Mod compare to lua, but earlier OOM, if
* use Lua only, maybe more time until OOM

but the basic problem are the Mod itself, as they are responsible for the loaded code and the reserved and further used memory, and some of them are taking A LOT ! have a look
Festus1965
Member
 
Posts: 914
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer



Return to Modding Discussion



Who is online

Users browsing this forum: Bing Bot [Bot] and 0 guests