PRB: F1901 "Program Too Large for Memory" Compilation Error (47500)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q47500 SYMPTOMS
An attempt to compile an application fails and the compiler generates the
following message:
F1901: program too large for memory
CAUSE
The combination of heap space and stack space required to compile the
program is too large for the memory available in the computer.
RESOLUTION
To address this situation, compile the application with the high-capacity
compiler F1L.EXE. Modify the compiler command line to specify the /B1
option. F1L.EXE is an alternate first pass for the compiler that places the
symbol table into the FAR HEAP. If F1L is unable to process a source
module, decompose the source file into two or more pieces, compile each
separately, and link the application together.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB47500 |
---|
|