-MEMory


This option specifies the memory size occupied during linking.

[Specification format]

-MEMory=[occupancy]

 

-

Interpretation when omitted

The processing is the same as usual (It is the same result as when the -memory=high option is specified).

[Detailed description]

-

This option specifies memory size occupancy occupied during linking.

-

The items that can be specified as occupancy are shown below.

High

The processing is the same as usual.

Low

The optimizing linker loads the information necessary for linking in smaller units to reduce the memory occupancy.

This increases the frequency of file access. As a result, processing will be slower than when "High" is specified if the memory used is not larger than implementation memory.

 

-

If occupancy is omitted, it is assumed that "High" has been specified.

-

Specify "Low" as occupancy if processing is slow because a large project is linked and the memory size occupied by the optimizing linker exceeds the available memory in the machine used.

[Example of use]

-

To reduce the memory occupancy, describe as:

>rlink a.obj b.obj -memory=low

[Remark]

-

In the following cases, the specification of the -memory=low option will be invalid.

-

When the -form={absolute|hexadecimal|stype|binary} option and following options are specified at the same time

-

Any of the -optimize, -compress, -delete, -rename, -lib_rename, -map, or -stack options

-

Combination of the -list option and the -show={reference|xreference|struct} option

-

When the -form=library option and following options are specified at the same time

-

Any of the -delete, -rename, -extract, -hide, or -replace options

-

When the -form={object|relocate} option and following options are specified at the same time

-

-extract option

Some combinations of this option and the input or output file format are invalid.

See "Figure 2.2 Relations Between Output Formats And Input Files Or Other Options" for details.