Ver Fonte

修改内存日志中内存的单位

vinson há 5 anos atrás
pai
commit
0212433acf

+ 1 - 1
src/main/java/com/tidecloud/dataacceptance/service/DirectMemoryReporterImpl.java

@@ -49,7 +49,7 @@ public class DirectMemoryReporterImpl {
 			public void run() {
 				System.out.println("task  run:" + new Date());
 				long m = directMemory.get();
-				logger.error(BUSINESS_KEY + "maxDirectMemory==={}:{}K", maxDirectMemory, m);
+				logger.error(BUSINESS_KEY + "maxDirectMemory==={}:{}K", maxDirectMemory / _ik, m / _ik);
 			}
 		};
 		Timer timer = new Timer();