xuyicheng1995 commented on issue #4475: URL: https://github.com/apache/shenyu/issues/4475#issuecomment-1471292526
> org.apache.shenyu.common.cache.MemorySafeWindowTinyLFUMap#ALL is not related to oom, you can test it with caffeine, caffeine cannot rely on oom for cache clearing. so, no matter how you modify it, it will oom when i new a instance of MemorySafeWindowTinyLFUMap, this instance will be hold by org.apache.shenyu.common.cache.MemorySafeWindowTinyLFUMap#ALL and current thread stack variable, i set the current thread variale to null,mean JVM will collect this instance,but this instance still is held by org.apache.shenyu.common.cache.MemorySafeWindowTinyLFUMap#ALL,JVM cannot collect this instance -- 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]
