LINK Help (linkx.hlp) (Table of Contents; Topic list)
/SEG Option
                                             Up Contents Index Back
─────/SEG Option────────────────────────────────────────────────────────────
 
     Syntax:  /SE[GMENTS][:number]
 
     The /SEG option sets the maximum number of logical segments a
     program can have. Specify a number from 1 to 16,384 in decimal
     format or C-language notation. The default <number> is 128. The
     maximum number of segments is constrained by available memory.
     See: Entering Numeric Arguments
 
     During the linking session, LINK allocates space for each logical
     segment to keep track of segment information. A low segment limit
     allows LINK to link faster and reduces the chance that LINK will
     run out of memory. A higher limit lets LINK allocate more space
     for segment information at the cost of lower speed.
 
     If the limit is set too high for the amount of memory available,
     LINK displays error L1054 "requested segment limit too high". If
     this happens, link again using /SEG set to a smaller number.
 
     You can find out how many segments a program has by using the
     /INFO option.
     See: /INFO Option
                                    -♦-