Skip to content

Use getrusage and maxrss for memory usage #213

Open
@noahgibbs

Description

For Rubies that free memory (JRuby, TruffleRuby) it makes more sense to use maxrss for memory usage, since the final mem may be lower than peak mem. This isn't an issue in CRuby.

This will probably mean calling C's getrusage via Fiddle.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions