Client memory reservation is not used for job allocation

Hello.

I have set nomad client memory reservation for 2048 MiB:

  reserved {
    memory = "2048"
  }

Total node memory is 7,957 MiB Total, so after reservation nomad must use 7957 - 2048 = 5909 MiB for scheduling jobs. But it can easyly allocate more jobs:


278294041-0914062b-bdb7-4c1d-a862-fdf026cea523

What wrong with memory reservation?

Info:
Docker Driver
Memory Oversubscription enabled

Hi @kinnalru,

I see you also raised this as a Github issue, so linking to that here so others can see the reply.

Thanks,
jrasell and the Nomad team