![]() * 70 KB - U_Skins, depends on Unified_Inventory +1350 = 1.420 KB * 80 KB - markers, as depends on areas +150 = 230 KB *~ 130 KB - WorldEdit (f242f2f ) + commands not more mem (TH=~330) *~ 1430 KB - moremesecons ( 2b2faec ) all, NOT commandblock (incl. *~ 1800 KB - plantlife ( 4e32feaa ), all, and deed biome_lib *~ 1820 KB - Mobs_monster ( 6cf5b95fc9 ), as need also Mobs_Redo, so itself a plus of 170 KB (TH=+180) *~ 1900 KB - 3d_armor ( 1d22612 ) full, wieldview, shields, stand, sfinv together, as _armor, hazmat_suit, ui and ip loaded but unused *~ 2000 KB - Unified_Inventory ( 850ee9c ), but loosing a lot until next loaded mod, like only 1.350 KB used (*!) *~ 2500 KB - Mobs_redo 1.40 ( a1d4e9bbfc ) +_monster +_animals +resources/materials +cooking (TH=+960) *~ 3600 KB - mesecons ( 073c92d ) all, just NOT commandblock *~ 5250 KB - technic_aluminium ( 1bddcc7 ) all, but need also basic_materials, technic+, pipeworks *~ 5300 KB - technic ( 700faca ) all, but need also basic_materials, pipeworks *~ 10500 KB - moreblocks ( d96f110 ) (TH=direct deactivated) *+ 22000 KB - unified_inventory AFTER loading all items (when print "inventory size" on my server for example) ![]() (from 2nd server empty world with LuaJIT active, also 8 Thread CPU / 32 GM Ram) Festus1965 Member Posts: 948 Joined: Sun 11:58 am GitHub: Minetest-One In-game: Thomas Explorer To check out weather I need them or not - to get less OOM and longer runs of the MTS. So give it a try, and please report your server: name, Lua or LuaJIT and used lua memory - maybe you and we all then understand OOM much better and can avoid it ! Print(math.floor(collectgarbage("count"))." KB after collectgarbage") inventory size: ".unified_ems_list_size." / luamem: ".math.floor(collectgarbage("count"))." KB") ![]() New code, show used mem, make garbagecollect, and show used mem againĬode: Select all print("Unified Inventory. unified_inventory/api.lua - as this is last action could detect yetĬode: Select all print("Unified Inventory. > best option to get used lua memory by change a code in * there are some ideas, to get LuaJet 2 GB or even 4 GBīut that does not free the programmer from making good slim code, using less memory ! * mod tested, but adds lag about 0.8 at my serverĪnd need to be adjusted to an amount to carbagecollect before OOM limit * detect mod with a lot of consumption and get better code or ban mod * detect mod using memory -> see LuaJIT here or LUA here OOM happen, when the amount of luamem is finished = mean bad luck when seen guilty to be the one make the crash How to detect LUAJIT using MODS causing OOM ? So, I put 32 GB of RAM into the MTS Server (hardware), but usedless as this lua memory we stuck here, is an own area limited to 2GB at Lua and 1 GB at LuaJIT - whatever we have build in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |