Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Enable automatic garbage collection #9813

@ShadowJonathan

Description

@ShadowJonathan

cc @erikjohnston, regarding the allocation mysteries where python is taking up more memory than it's actually using for objects.

According to @richvdh, the only reason why we're currently using manual GC is because python 2 didn't support gc.callbacks, using this to catch metrics instead might slightly improve performance elsewhere, such as in memory pressure and CPU usage, as we're giving cPython the reigns of the garbage collector again.

This might need some performance testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions