Resource Limiting#

Deterministic Mode and Non-Deterministic Mode have two separate RAM limits. However, all sub-VM instances share within same mode the same RAM capacity.

RAM limit is 4294967295 octets (4 GB) for each Non-Deterministic Mode.

RAM Consumption#

RAM is consumed by subtracting specified amount of memory from limit of current VM Execution Modes of given sub-VM.

When consuming RAM would lead to remaining RAM to be negative, the Sub-VM exits with VMError with gvm-def-enum-value-vm-error-oom message.

RAM Release#

When a sub-VM finishes execution, all RAM memory occupied by it gets released. However, during the execution process, the RAM memory can not be released.