-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Memory leak #298
Comments
I'm having also issues with memory. In my case I'm using Session and it seems there is a leak altough I'm closing it. I'm case using:
Check this script to reproduce it with memray, I'm using a file with 3MB of JSON data.
Executing it there is a warning: but I guess this is caused by not setting to None |
Thanks for reporting @jlmadurga @ljlooper. Let me check it. |
@ljlooper are you also using the memory engine which is the default engine of Session and Connection |
yes, Please review my test code
` |
@ljlooper Oh, You are using the chdb-go which is still using the libchdb 2.x. |
After preliminary investigation, I used |
At first, a connection was created, and 100,000 pieces of data were inserted, followed by a random id query every 20 seconds, after the query, the rows were closed, and there was no query blocking, I confirmed that the code was OK, but the memory continued to grow from the initial 200M, and now has reached more than 1g, and continues to increase
The text was updated successfully, but these errors were encountered: