Guiqu1aixi commented on PR #10021: URL: https://github.com/apache/dubbo/pull/10021#issuecomment-1147368079
上文提到:"当发现JVM剩余内存<256MB时,MSLBQ会拒绝写入" 个人肯定通过可用内存来判断MSLBQ是否可写这一方案的价值。 但根据代码来看,MSLBQ是否会拒绝写入,在于MemoryLimitCalculator.maxAvailable() > maxFreeMemory, 这里并非是使用剩余可用内存来进行判断的,而是使用commited的内存大小进行判断的, 当前剩余可用内存大小应该等于commited - used 或者 max - used; 不知道我是否表达的清楚,😄😄😄 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
