# qoverride-limits, Qoverride-limits

Lets you override certain internal compiler limits that are intended to prevent excessive memory usage or compile times for very large, complex compilation units.

## Syntax

Linux: | -qoverride-limits

macOS: | -qoverride-limits

Windows: | /Qoverride-limits

## Arguments

None

## Default

OFF | Certain internal compiler limits are not overridden. These limits are determined by default heuristics.

## Description

This option provides a way to override certain internal compiler limits that are intended to prevent excessive memory usage or compile times for very large, complex compilation units.

If this option is not used and your program exceeds one of these internal compiler limits, some optimizations will be skipped to reduce the memory footprint and compile time. If you chose to create an optimization report by specifying [q or Q]opt-report, you may see a related diagnostic remark as part of the report.

Specifying this option may substantially increase compile time and/or memory usage.

### Note

If you use this option, it is your responsibility to ensure that sufficient memory is available. If there is not sufficient available memory, the compilation may fail.

This option should only be used where there is a specific need; it is not recommended for inexperienced users.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options