Skip to content

it always returns memory: 0 #13

@2077DevWave

Description

@2077DevWave

high

The runWithLimits function doesn't measure the actual memory usage of the child process; it always returns memory: 0. The previous C++ implementation used rusage to track memory consumption, which is a valuable metric for competitive programming. This is a feature regression. Consider implementing memory measurement, for example by wrapping the execution with a tool like /usr/bin/time -v on Linux and parsing its output.

Originally posted by @gemini-code-assist[bot] in #12 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions