To investigate some issues with unreleased system resources, I would like to force the garbage collection to be displayed on the already running python script.
Is this possible, for example. by sending some kind of signal that Python will understand as an order to run gc; or any other similar way? Thanks.
I am running Python 2.7 on a Linux server.
source share