-bmaxdata

Category

Linking

Pragma equivalent

None

Purpose

Sets the maximum size of the area shared by the static data (both initialized and uninitialized) and the heap.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -bmaxdata--:----number-------------------------------------><

Defaults

-bmaxdata:0

Parameters

number
The number of bytes used representing the soft ulimit set by the system loader.
  • For 32-bit programs, the maximum value allowed by the system is 0x80000000 for programs that are running under large program support and 0xD0000000 for programs that are running under very large program support. For details, see Large program support in IBM AIX® Information Center.
  • For 64-bit programs, the -bmaxdata option provides a guaranteed maximum size for the programs data heap. You can specify any value, but the data area cannot extend past 0x06FFFFFFFFFFFFF8 regardless of the value that you specified.

Predefined macros

None.