Documentation

exit-on-errorsetpath-hash-sizeindex

Name

set mem-limit -  set the memory limit of C-BGP

Synopsis

mem-limit <value> 

Arguments

value
new memory limit (in bytes)

Description

This command changes the memory limit of C-BGP to a maximum of value bytes, using the setrlimit system call. Normally, there is no per-process memory limitation enforced by the operating system. The memory allocation will fail when there is no more physical memory and no more virtual memory available. However, in certain situations, reaching both the physical and virtual memory limits may pose problems. Especially on some systems (on Linux for instance) where the scheduler may kill the first application that requests memory above the reached limits. Important applications may be killed even if the user who runs the simulator has no administrative privilege. We experienced such situation, so use this option with large simulations!!!