提交 6b894e5b 编写于 作者: J João Sousa

put back garbage collection with condition

上级 483ea147
无法预览此类型文件
......@@ -295,7 +295,7 @@ public class ClientsManager {
if (ignore) {
//Runtime.getRuntime().gc(); // force garbage collection
if(usedMemory <= this.controller.getStaticConf().getPreferredUsedMemory()) Runtime.getRuntime().gc(); // force garbage collection
logger.warn("Discarding message due to control flow mechanism\n" +
"\tMaximum requests are {}, current requests at {}\n" +
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册