Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

LimitMemory

Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013 · 1 revision

TODO Link to page explaining how memory limits works.

Request

The field limit_in_bytes is optional. When it is not specified, the memory usage limit will not be changed. When it is specified, but not a multiple of the page size, it is rounded up to the nearest multiple of the page size (the default page size is 4K).

  • handle: Container handle.
  • limit_in_bytes: New memory usage limit in bytes.

Response

  • limit_in_bytes: Memory usage limit in bytes.

Errors

TODO

Definition

package warden;

message LimitMemoryRequest {
  required string handle = 1;

  optional uint64 limit_in_bytes = 2;
}

message LimitMemoryResponse {
  optional uint64 limit_in_bytes = 1;
}

Clone this wiki locally