Limit physical memory per process

后端 未结 6 2183
独厮守ぢ
独厮守ぢ 2021-02-02 14:19

I am writing an algorithm to perform some external memory computations, i.e. where your input data does not fit into main memory and you have to consider the I/O complexity.

6条回答
  •  长情又很酷
    2021-02-02 14:49

    Kernel mem= boot parameter limits how much memory in total OS will use.

    This is almost never what user wants.

    For physical memory, there is RSS rlimit aka RLIMIT_AS.

提交回复
热议问题