|
@@ -24,7 +24,6 @@ public class MemoryMonitoringFilter implements Filter {
|
|
|
|
|
|
if (request instanceof HttpServletRequest) {
|
|
|
String requestURI = ((HttpServletRequest) request).getRequestURI();
|
|
|
- System.out.println("请求接口: " + requestURI + ", 内存使用情况: " + memoryUsed + " bytes");
|
|
|
System.out.println("请求接口: " + requestURI + ", 内存使用情况: 使用前" + beforeMemory+"使用后"+afterMemory+"差值"+memoryUsed + " bytes");
|
|
|
}
|
|
|
}
|