mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Added Lua garbage collector calls
This commit is contained in:
parent
c78ba0d93e
commit
f9f2a464ff
9 changed files with 13 additions and 18 deletions
|
|
@ -2213,4 +2213,6 @@ require "lua_utils_gui"
|
|||
|
||||
if(trace_script_duration ~= nil) then
|
||||
io.write(debug.getinfo(1,'S').source .." executed in ".. (os.clock()-clock_start)*1000 .. " ms\n")
|
||||
io.write(string.format("Lua memory: = %s\n", collectgarbage("count")))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue