Per-Object State: The Memory Cost of True Concurrency

Removing the GIL necessitates thread-safe reference counting, often through biased reference counting, which adds per-object metadata and overhead to each Python object, increasing memory usage.

Sources

Open the full topic