Splitting gc.collect() in small chunks #11015
AutoPilotjn
started this conversation in
General
Replies: 1 comment 5 replies
-
Have a look at #10235. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to run gc.collect() in small chunks ?
I have an application that shall run at 100hz.
gc.collect is run manually and takes about 20ms. Even when run at every cycles, gc.collect duration does not decreases below these 20ms.
I would like to reduce this 20ms duration by splitting gc.collect in smaller pieces, then running these small pieces on every application cycles.
Thanks for pointers
Beta Was this translation helpful? Give feedback.
All reactions