Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asynccache的OOM问题 #185

Open
yaohanlan opened this issue Jul 15, 2023 · 0 comments
Open

asynccache的OOM问题 #185

yaohanlan opened this issue Jul 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@yaohanlan
Copy link

Summary

asynccache只能基于时间进行过期,如果过期时间配置过长或者load数据过于庞大,会导致OOM的问题。
我想基于asynccache实现一个文件缓存功能,但是在使用过程中发现,一旦文件数据过大,程序会因为OOM问题而直接被系统kill掉。
是否可以像ristretto那样实现一个内存配额限制呢?

Motivation

建议

Explanation

No response

@yaohanlan yaohanlan added the enhancement New feature or request label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant