Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29424 Discussions

About the error message:Out of memory

hupo1982
Beginner
889 Views

Today I compiled a new a.f file on a AMD64 machine for 64bit application(OS:xp64, RAM:1G), I got a error message as "Fatal compilation error: Out of memory asking for 2097152", this fortran file has 18498 lines code, it's only one function. If I compiled it on a 32bit computer for 64bit application too(OS:win2000, RAM:1G), I got no error. I have a b.f file like this source(20155 lines,only one function,a is a write file function, b is a read file function), but the b file is compiled OK on xp64 machine.

Why?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
889 Views

The compiler is a 32-bit application and is the same whether you run it on a 32 or 64-bit system. All I can think of is that the configuration of the AMD system is such that less virtual memory is available to a 32-bit application than on the other box. I suggest you check to make sure that enough pagefule space is available.

The number of lines of source is not as important as the complexity of the code and the optimization options chosen.

0 Kudos
Reply