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

_removeByMatchingTags out of memory with large number of matching entries #183

Open
michielroding opened this issue Sep 5, 2024 · 0 comments

Comments

@michielroding
Copy link

When calling Cm_Cache_Backend_Redis::clean(Zend_Cache::CLEANING_MODE_MATCHING_TAG, ['bla']) this runs out of memory when there are a large number of entries.

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in /…/vendor/colinmollenhour/credis/Client.php on line 1353

v1.17.1

We could of course increase the memory limit but it'll fail eventually; would it be possible to do this in batches, or via a Lua script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant