so biggest [Mod]s LuaJIT memory users yet:(from 2nd server empty world with LuaJIT active, also 8 Thread CPU / 32 GM Ram)
*+ 22000 KB -
unified_inventory AFTER loading all items (when print "inventory size" on my server for example)
*~ 10500 KB -
moreblocks (
d96f110 23.03.2019) (TH=direct deactivated)
*~ 5300 KB -
technic (
700faca 09.03.2019) all, but need also basic_materials, pipeworks
*~ 5250 KB - technic_aluminium (
1bddcc7 25.06.2016) all, but need also basic_materials, technic+, pipeworks
*~ 3600 KB -
mesecons (
073c92d 16.03.2019) all, just NOT commandblock
*~ 3350 KB - homedecor (
ac71c0f1 12.2018), all, need unifieddeys (TH=not)
*~ 2900 KB -
xdecor (
ee7a281 10.03.2019) (
TH=12.400 KB)
*~ 2800 KB - unifieddeys (
f59c8aff 23.02.2019) (TH=not)
*~ 2550 KB -
etherreal (
7a1a8728b0 23.03.2019) (TH=deactivated)
*~ 2500 KB -
Mobs_redo 1.40 (
a1d4e9bbfc 23.03.2019) +_monster +_animals +resources/materials +cooking (TH=+960)
*~ 2100 KB - Mobs_animals (
43a813d4f1 22.03.2019), with bat, bird, butterfly, fish, turtle, +Mobs_Redo, +~ 500 KB (TH=+370)
*~ 2000 KB - Unified_Inventory (
850ee9c 17.02.2019), but loosing a lot until next loaded mod, like only 1.350 KB used (*!)
*~ 1950 KB - inventorybags (
818231c 01.01.2018) (TH=370)
*~ 1900 KB -
3d_armor (
1d22612 06.03.2019) full, wieldview, shields, stand, sfinv together, as _armor, hazmat_suit, ui and ip loaded but unused
*~ 1820 KB -
Mobs_monster (
6cf5b95fc9 22.02.2019), as need also Mobs_Redo, so itself a plus of 170 KB (TH=+180)
*~ 1800 KB -
plantlife (
4e32feaa 17.03.2019), all, and deed biome_lib
*~ 1750 KB - 3d_armor (only)
*~ 1650 KB - Flowerpot (
6bce72a 03.10.2017)
*~ 1650 KB - Mobs Redo 1.49 (07.03.2019), only
*~ 1520 KB - moreores (
5010a14 23.03.2019) (TH~80)
*~ 1510 KB - BakedClay (
67d0f2a8d6 07.2018) (TH~300)
*~ 1430 KB -
moremesecons (
2b2faec 20.08.2018) all, NOT commandblock (incl. need of 4 mesecon mod)
*~ 1390 KB -
nether (
2d94d74 21.12.2017) (TH~960)
*~ 1320 KB - hud/hunger (
071cba5852 07.2018), depends on hud +52 = 1372 KB
*~ 1100 KB - crafting (TH~680)
*~ 1000 KB -
moretrees (
d521e347 12.2018), as depend on biome_lib +400 = 1400 (TH~1050)
*~ 990 KB - treecapitator
*~ 910 KB -
mp-xtraores (
815fec1 23.06.2017) (TH~90)
*~ 820 KB -
digilines (
434010b 20.10.2017) (TH~260)
*~ 800 KB - mesecons 1st only
*~ 800 KB - Protector (
a2e803d522 10.2018) (TH~200)
*~ 750 KB - signs_lib (
c199a33b 12.2018) (TH~200)
*~ 710 KB - more_chests (
c597779 27.02.2017)
*~ 710 KB - bitchange (
98a2dc8 03.01.2019) (TH~115)
*~ 700 KB -
Basic_Materials (
a5fdb721 12.2018) (TH~90)
*~ 700 KB - mining_plus (
c2d63df 27.08.2016) (TH~100)
*~ 680 KB - smartshop (TH~50)
*~ 680 KB - exchange (TH=off)
*~ 680 KB - mail
*~ 655 KB - servercleaner
*~ 650 KB - localisation (TH=off)
*~ 650 KB - arrow_signs
*~ 650 KB - trash_can (TH=off)
*~ 650 KB - locks
*~ 650 KB - Ballon
*~ 640 KB - jail (13.12.2013)
*~ 630 KB -
digtron (
d41190a 16.03.2019) old version 1310 KB - (TH~800)
*~ 640 KB - Enchanting (TH=off)
*~ 640 KB - alphabeth
*~ 630 KB - border
*~ 610 KB - soccer (TH=off)
*~ 550 KB - torches
*~ 400 KB -
nixie-tubes (
6bd1ad70 12.2018), but depend on digilines +820 = 1220 KB (TH~340)
*~ 398 KB -
biome_lib (
29899f2d 01.2019) (TH~70)
*~ 220 KB - wiki (TH~220)
*~ 175 KB - bows (
465b065eb7 12.2018)
*~ 150 KB -
areas (TH~500)
*~ 130 KB - WorldEdit (f242f2f 09.12.2018) + commands not more mem (TH=~330)
*~ 125 KB - craftguide (
0271f61 21.03.2019)
*~ 125 KB -
adv_spawning v0.0.13 (28.12.2015) 0.4.x
*~ 125 KB - economy
*~ 120 KB - travelnet (TH~1000)
*~ 110 KB - euban
*~ 100 KB - farming 1.40 (
ee993f9d61 22.03.2019) (TH~1200)
* 80 KB - markers, as depends on areas +150 = 230 KB
* 70 KB - U_Skins, depends on Unified_Inventory +1350 = 1.420 KB
* 52 KB - hud
* 50 KB - Pipeworks (
27eb2ca9 01.2019), as depends on basic_material +700 = 750 KB (TH=~2.150)
* 40 KB - minetest_remover
* 40 KB - digiline_remote, but depend on digilines +820 = sum 860 KB
* 35 KB - lamps
* 34 KB - filter
* 24 KB - basic_robot (TH~540)
* 21 KB - player_notes
* 20 KB - nonew
* 15 KB - sightview
* 14 KB - no-guests
* 14 KB - lagcheck
* 9 KB - adblock
* 3 KB - time
* careful:
**
unified_inventory is loading all Items after server ready loading mods, at my one near 18.000-22.000 KB memory using plus ! - this can be seen in code change for /unified_inventory/api.lua ... 1st post
at my server another +18.000 KB used then, on the empty world testing, nothing more - as it is only lonely mod
so not false the unified_inventory [Mod] will solve the problem if needed, need to find out what other [Mod] make it load so much !!!
(TH~) mean, the usage on my running server with big world,
BUT not trust numbers, as loaded between and never sure how it counts, my LuaJit memory sum is about 49.894 KB after unified_inventory + collectgarbage loaded items.
So short list main memory users on my running TH (Thailand Minetest.one) Server with memory sum ~46.000 KB after deactivated (false) some not important or used [Mod]s
* 22000 KB -
unified_inventory AFTER loading all items (print after did "inventory size" )
* 12400 KB -
xdecor (
ee7a281 10.03.2019)
*~ 2150 KB - Pipeworks (
27eb2ca9 01.2019), as depends on basic_material +700 ...
*~ 1200 KB - farming 1.40 (
ee993f9d61 22.03.2019)
*~ 1050 KB -
moretrees (
d521e347 12.2018), as depend on biome_lib +400 = ...
* ~ 960 KB -
nether (
2d94d74 21.12.2017)
* ~ 800 KB -
digtron (
d41190a 16.03.2019)
* ~ 500 KB -
areas listed mean already 90% of all lua memory, so the only way to make sure what mod false will reduce memory usage is to print memory usage after unified size and then test with mods = false in .mt
as
[Mod]s sure have some kind of combining effects, mean each of them single much memory usage, but together they seam to share or combine some data, = together less memory usage than both single memory usages added
and final about OOM:
* under Lua my crashed between 1133 until 1340 MB
* under LuaJit my crashed between 536 - 846 MB
as some server OOM with just 14 MB would already be gone, my one now starts with 47 MB - so there is a lot of time until 536 MB, better than before when my server started with near 80 MB lua memory
and not forget, why OOM:
so as know now how much lua mem is used at beginning, DURING the game running and used several [Mod]s wanna and take more memory, so this [Mod] then traitor itself with the OOM message,
and so far most of this messages at me was technic !!!
Even technic start smart, seams to do crazy much and often grab more memory
- ... and here I am not able to analyze yet - we need some tool able to show memory usage by [Mod] during gameplay on demand or every hour saved, for testing ...