summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 41630d12..83f4aa0c 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -610,6 +610,7 @@ function mt:restartDueToMemoryLeak()
end
function mt:_testMemory()
+ collectgarbage()
local cachedVM = 0
local cachedSource = 0
local cachedFunction = 0