- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page