This repository was archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
LimitMemory
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013
·
1 revision
TODO Link to page explaining how memory limits works.
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.
-
limit_in_bytes: Memory usage limit in bytes.
TODO
package warden;
message LimitMemoryRequest {
required string handle = 1;
optional uint64 limit_in_bytes = 2;
}
message LimitMemoryResponse {
optional uint64 limit_in_bytes = 1;
}