-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
hScan() memoty leak #501
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
Comments
Hey there, This is a great find! I've confirmed that this is in fact the case. The actual leak is here:
So what's going on here is that when I'll get a hotfix up today to sort it. Cheers, |
When you instruct phpredis to retry the scan command in the event of a non zero iterator but zero elements being returned, it was leaking memory, as it did not free the previous result. Addresses #501
When you instruct phpredis to retry the scan command in the event of a non zero iterator but zero elements being returned, it was leaking memory, as it did not free the previous result. Addresses #501
Please try it now. Cheers, |
Thx, now it workin without memory leak. |
I have a problem with redis. i use php for hscan ,but i always get null. i don't know how it happend! |
RESULT:
Memory (867992)
Memory (3707416)
Memory (3706576)
The text was updated successfully, but these errors were encountered: