Memory leak with loop in threading.Thread #1192
Unanswered
FunctionFollower
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone
There is a function which select large data
There is a loop
and start
With this combination, the memory consumption reaches 0.5 GB and is not released after all requests.
If I create arrays of 0.5 GB instead of queries, then the memory is cleared.
If there is no infinite loop (for i in range(10)) then after 10 requests, the memory is also cleared.
if I call loop in the main thread, then everything is fine
Does anyone have any idea what the problem might be?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions