Skip to content

Allocator does not properly report OOM #613

Open
@RalfJung

Description

@RalfJung

When you make a big allocation, creating the backing store in Allocation::undef just fails. We could use try_reserve to instead detect this and report it to the running application properly (returning NULL, I guess).

Cc @Amanieu

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interpreterArea: affects the core interpreterC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions