Replies: 1 comment
-
First, should probably be asking on the aiojobs repo, this has nothing to do with aiohttp. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I use aiojobs in aiohttp, It works perfect. A web handler spaws a job at each http call, so thousands of jobs are created every day.
My understanding is that a closed job is still an object in memory which is referenced by the scheduler, so not garbaged.
Since the scheduler is created at aiohttp server level and not at handler level, it is never garbaged, so I expect a memory leak of all closed jobs.
Are the previous statements correct?
How to avoid a memory leak?
Regards
AVE
Beta Was this translation helpful? Give feedback.
All reactions