maxmem Optimization Option (AIX)

Syntax: Default:
opt(maxmem, number) opt(maxmem, 2048)

This option limits the amount of memory used for local tables of specific, memory-intensive optimizations to number kilobytes.  If that memory is insufficient for a particular optimization, the scope of the optimization is reduced.

The default is opt(maxmem, 2048).  This default also applies when the number specified is 0.

The following points apply to the use of the maxmem optimization option:

You can also limit the amount of memory used for optimization by using #pragma options [no]maxmem=number. The pragma overrides the configuration file option.



Incremental C++ Build
Configuration Files


Set Build Options
Build
Optimize your Application
Debug Optimized Code


Optimization Options
Optimization Options