maxdsiz and maxdsiz_64bit

maxdsiz and maxdsiz_64bit specify the maximum data segment size, in bytes, for an executing process.

Acceptable Values:

maxdsiz for 32-bit processors:

Minimum
0x400000 (4 Mbytes)
Maximum
0x7B03A000 (approx 2 Gbytes)
Default
0x4000000 (64 Mbytes)

maxdsiz_64bit for 64-bit processors:

Minimum
0x400000 (4 Mbytes)
Maximum
4396972769279
Default
0x4000000 (64 Mbytes)

Specify integer value. For more information, see Specifying Parameter Values.

Description

Enter the value in bytes.

maxdsiz and maxdsiz_64bit define the maximum size of the static data storage segment for executing 32-bit processes and 64-bit processes on 32-bit and 64-bit processors, respectively. This segment contains fixed data storage such as globals, arrays, statics, locals to main(), strings, space allocated using sbrk() and malloc(), and such.

Increase the value of maxdsiz or maxdsiz_64bit only if you have one or more processes that use large amounts of static data storage space.

Whenever the system loads a process or an executing process attempts to expand its static storage segment the system checks the size of the process' static data storage segment.

If the process' requirements exceed maxdsiz or maxdsiz_64bit, the system returns an error to the calling process, possibly causing the process to terminate.

Related Parameters

Note that private memory-mapped files and shared-library data also occupy space in the dynamic storage region. This permits the possibility of conflict in the event you specify the highest possible values for maxdsiz or maxdsiz_64bit.

Additional Information