-D

Sets a per-process (soft) data segment size limit for each of the processes that belong to the job.

Categories

limit

Synopsis

bsub -D data_limit

Description

For more information, see getrlimit(2). The limit is specified in KB.

This option affects calls to sbrk() and brk() . An sbrk() or malloc() call to extend the data segment beyond the data limit returns an error.

Note: Linux does not use sbrk() and brk() within its calloc() and malloc(). Instead, it uses (mmap()) to create memory. DATALIMIT cannot be enforced on Linux applications that call sbrk() and malloc().