summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/service.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index f0cf6489..d8c79a8a 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -592,10 +592,10 @@ function mt:_testMemory()
))
-- 内存过高时暴力结束服务释放内存
- if mem > 1500000 then
+ if mem > 1300000 then
collectgarbage()
mem = collectgarbage 'count'
- if mem > 1500000 then
+ if mem > 1300000 then
rpc:requestWait('window/showMessageRequest', {
type = 3,
message = lang.script('DEBUG_MEMORY_LEAK', '[Lua]'),