Skip to content

Prevent ninja starting new job when physical memory become low #1571

@adelplanque

Description

@adelplanque

I have a big project where

  • 80% of jobs use a little amount of memory ==> jobs must be limited by CPU ressource
  • 20% of jobs use large amount of memory ==> this jobs must be limited by memory ressouce

So like -l flags, it should be nice to have a -m flag :

ninja -m 1G

==> don't start new job if physical available memory is below 1G

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions