kingluo commented on issue #7949: URL: https://github.com/apache/apisix/issues/7949#issuecomment-1278796992
> We did delete it, but I can retest it in your way. How big does your memory grow when it stops growing? We stopped testing after increasing by more than 300 M Make sure you apply my patch on original dep version of prometheus lib used by apisix. I see you use `ERR_MSG_LRU_EVICTION` which comes from the latest version of the prometheus lib. Please use original version. In my env, when I set the max size of lookup table to `100`, the memory stops at about 90MB. > > Another problem is involved here. At present, Apisix does not have the logic to clear expired keys, which means that the shared memory will be filled sooner or later, leading to the loss of new indicator data The latest prometheus lib would make use of the lru characteristic of the shared dict to evict the oldest keys, so no need to worry about it. -- 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]
