frees luajit memory in repeating loop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Wilfried Wigang Wiegand bc97af7118 Add 'init.lua' 1 year ago
README.md Update 'README.md' 1 year ago
depends.txt Add 'depends.txt' 1 year ago
description.txt Add 'description.txt' 1 year ago
init.lua Add 'init.lua' 1 year ago
mod.conf Add 'mod.conf' 1 year ago
readme.txt Add 'readme.txt' 1 year ago

README.md

free_lj_mem

automatic lua / luaJit garbage collection

  • report and warning options

command “collectgarbage()” can also be run manual

  • with Worldedit “//lua collectgarbage()”
  • with luacmd “/lua collectgarbage()”

BUT for admin might be easier

  • automatic every x time (set to 3600 / 1 hour)
  • with report memory usage before and after collect (on off) (log terminal)
  • with detecting lua or luajit running
  • with warning message to player if luamen after cleanup exeed a set maxluamem

License: LGPL v3.0