Skip to content

not ok get_memory #2297

@tcely

Description

@tcely

ASSERT(total_mem > free_mem);

This assert is not reliable because each function calls sysinfo at different times. The sysinfo for free then the sysinfo for total happening at different times means that the total might be less than or equal to free.

See alpinelinux/aports#7895 (comment) which excerpts from https://cloud.drone.io/alpinelinux/aports/3728

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