This option specifies the memory size occupied during linking.
[Specification format]
- | Interpretation when omitted |
The processing is the same 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 optimizing linker loads the information necessary for linking in large units to prioritize the processing speed.
|
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 -nooptimize -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 -compress, -delete, -rename, -map, -stack, or -optimize options |
- | The -list and -show[={reference|xreference}] options are specified at the same time. |
- | 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 |
Some combinations of this option and the input or output file format are invalid.
See "Table 2.9 Relations Between Output Formats And Input Files Or Other Options" for details.