Specifications

Error! Style not defined. 781
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 781 of 97 Printed: 10/09/00 02:49 PM
L1064 out of memorynear/far heap exhausted
LINK was not able to allocate enough memory for the given heap.
One of the following may be a solution:
u Reduce the size of code, data, and symbols in the program.
u If the program is a segmented executable file, put some code into a dynamic-link
library.
L1065 too many interoverlay calls
use /DYNAMIC:nnn; current limit is number
The program had more than the given limit of interoverlay calls.
The maximum number of interoverlay calls is set with the /DYNAMIC option (in the
range 110,922). If /DYNAMIC is not specified, the default is 256.
To determine the setting needed by the program, run LINK with the /INFO option. The
output gives the number of interoverlay calls that are generated and the current limit.
L1066 size of overlaynumber overlay exceeds 64K
The overlay represented by the given number exceeded the MOVE size limit of 65,535
bytes.
L1067 memory allocation error
Note the circumstances of the error and notify Microsoft Corporation by following the
instructions in the “Microsoft Support Services” section of the introduction to this book.
L1070 segment : segment size exceeds 64K
A single segment contained more than 65,536 bytes of code or data.
Try changing the memory model to use far code or data as appropriate. If the program is
in C, use CL’s /NT option or the _ _based keyword (or its predecessor, the alloc_text
pragma) to build smaller segments.
L1071 segment _TEXT exceeds 64K–16
The segment named _TEXT grew larger than 65,520 bytes. This error is likely to occur
only in small-model C programs, but it can occur when any program with a segment
named _TEXT is linked using the LINK /DOSSEG option.
Small-model C programs must reserve code addresses 0 and 1; this range is increased to
16 for alignment purposes.
Try compiling and linking using the medium or large model. If the program is in C, use
CL’s /NT option or the _ _based keyword (or its predecessor, the alloc_text pragma) to
build smaller segments.