garbage_collect
Triggers a manual garbage collection process, performing a second collection on PyPy to ensure weak references are properly cleared.
def garbage_collect() - > null
Triggers a manual garbage collection to reclaim memory, performing a second pass on PyPy to ensure weak references are properly cleaned up.
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function performs an in-place memory management operation. |