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
Prepared Statements cache is unbounded #114
Comments
/cc @bcardiff |
@haffla as a mitigation use There is an idea of putting a max life span for the connections, but clearing the statement cache should also be considered. |
It's weird though, in my example heap grows by about 140K per query but the query string is only about 5K. |
Why don't I have this problem if I insert into a MySQL database, though, as I described in will/crystal-pg#191? Anyway I will try |
Confirming that disabling prepared statements mitigates the problem. But: I am now actually not using
and then inside the loop
There is no reason to cache anything here. |
See will/crystal-pg#191
The text was updated successfully, but these errors were encountered: