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

A possible bug in the compiler - Forrtl: severe (41): insufficient virtual memory

SergeyKostrov
Valued Contributor II
744 Views

A possible bug in the compiler - Forrtl: severe (41): insufficient virtual memory

Note: There was a similar thread recently with a very hot discussion related to the error message 'Insufficient Virtual Memory'.

I reproduced the problem when trying to multiply two 64Kx64K matricies ( REAL(8) data type ) on a system that has 32GB of physical memory and Virtual Memory settings are as follows:

Min Size: 64GB

Max Size: 128GB

So, the system is VERY capable ( Intel Core i7-3840QM / Ivy Bridge / 4 cores ) and has lots of memory.

The Fortran test application failed when it allocated ~31GB of physical memory and it didn't try to allocate virtual memory ( greater than 32GB (!)  ). My questions are: Is there some limitation? Why doesn't it allocate more memory especially when lots of virtual memory is available?

In one of my recent test with a C/C++ test application I was able to allocate 128GB of memory ( ~31GB of physical memory and ~97GB of virtual memory ) in order to complete some processing.

Here is output from the Fortran test application ( console based ):

forrtl: severe (41): insufficient virtual memory
Image              PC                Routine            Line        Source
FortTestApp.exe    00000001400740A7  Unknown      Unknown  Unknown
FortTestApp.exe    000000014006F4B3  Unknown      Unknown  Unknown
FortTestApp.exe    00000001400336D6  Unknown      Unknown  Unknown
FortTestApp.exe    0000000140020542  Unknown      Unknown  Unknown
FortTestApp.exe    000000014001744D  Unknown      Unknown  Unknown
FortTestApp.exe    000000014000291A  Unknown      Unknown  Unknown
FortTestApp.exe    0000000140074F4C  Unknown      Unknown  Unknown
FortTestApp.exe    000000014005D4DF  Unknown      Unknown  Unknown
kernel32.dll           0000000076C2652D  Unknown      Unknown  Unknown
ntdll.dll                 000000007700C521  Unknown       Unknown  Unknown

 

0 Kudos
4 Replies
SergeyKostrov
Valued Contributor II
744 Views
If I change Virtual Memory settings to: Min Size: 96GB Max Size: 128GB the error message forrtl: severe (41): insufficient virtual memory is not displayed and the test application works ( a screenshot provided ). It would be nice if Intel software engineers look at why the error happens when the Min Size of Virtual Memory is set to 64GB ( see previous post ). fortranvmproblem2.jpg
0 Kudos
Steven_L_Intel1
Employee
744 Views

Test program, please.

0 Kudos
SergeyKostrov
Valued Contributor II
744 Views
I will post today a complete Visual Studio 2008 project.
0 Kudos
SergeyKostrov
Valued Contributor II
744 Views
Please find attached a Visual Studio 2008 ( Professional Edition ) Fortran project ( very simple ) and let me know if you have any questions regarding reproducing the problem ( like, Virtual Memory settings, etc ). Thanks in advance,
0 Kudos
Reply