浏览代码

update: 隐藏自动执行GC的日志

Wendal Chen 3 年之前
父节点
当前提交
ea866cd8c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      luat/modules/luat_lib_rtos.c

+ 1 - 1
luat/modules/luat_lib_rtos.c

@@ -36,7 +36,7 @@ static int l_rtos_receive(lua_State *L) {
             luat_meminfo_luavm(&total, &used, &max_used);
             if ( (used * 100) >= (total * 90))
             {
-                LLOGD("luavm ram too high! used %d, total %d. Trigger Force-GC", used, total);
+                //LLOGD("luavm ram too high! used %d, total %d. Trigger Force-GC", used, total);
                 // 需要执行2次, 因为userdata在第二次才会被回收
                 lua_gc(L, LUA_GCCOLLECT, 0);
                 lua_gc(L, LUA_GCCOLLECT, 0);