Skip to content

memory decommit does not work with large pages #914

Open
@romange

Description

@romange

Seems that mimalloc does not decommit memory that was comitted using large pages. See

if (arena->memid.is_pinned || arena->blocks_purge == NULL) return false;

and

memid.is_pinned = is_large;

what's the motivation behind this? why large pages can not be decomitted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions