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 80b6bcb6..ba45f9f4 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -534,6 +534,7 @@ function mt:onTick()
self:_doCompileTask()
if os.clock() - self._clock >= 60 then
+ collectgarbage()
self._clock = os.clock()
local count = 0
for _ in pairs(self._file) do