Skip to content

Ability to request the current(/approximate?) allocated size (ideally both, consumed by allocs and consumed by the slabs) #3

Description

@Licenser

Since this will likely add some overhead I suspect that this would need to be feature gated but it can be very helpful for an application to ask "How much memory have I allocated right now?". Jemalloc has this API and I've reached for it more than once for instrumenting an application.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions