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

Redis memory issue #84

Open
WolFZonE opened this issue Sep 9, 2020 · 3 comments
Open

Redis memory issue #84

WolFZonE opened this issue Sep 9, 2020 · 3 comments

Comments

@WolFZonE
Copy link

WolFZonE commented Sep 9, 2020

Hello,
We have a problem where Redis key created by this package is using alot of memory. It's named like this : br-local:5f58eab33aae5665049267:standard_ref and contains values like this:
redis
Even when using flushCache() method, these records are not cleared... Is this normal behavior?

@dwightwatson
Copy link
Owner

I'm not sure - there seems to be a long prefix to your key that I've not seen. Are you doing something funky that creates that prefix, as I would have expected the key to start with rememberable?

@WolFZonE
Copy link
Author

@dwightwatson That's just the $rememberCachePrefix, I added that to see from which model these values come from.

@dwightwatson
Copy link
Owner

Is it possible that the rememberCachePrefix isn't being used when flushing the cache, hence the build-up?

I've not seen this myself - so see if you're able to determine the cause of this, or provide a PR that fixes it.

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

2 participants