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

forrtl: severe (41): insufficient virtual memory

pskerlj
Beginner
1,099 Views
I am loading up alot of data into memory so I can perform some calculations and I get the following error when I allocate the dataarray to the neccessary size:

forrtl: severe (41): insufficient virtual memory

Will more RAM help this? Or what is the best approach to overcome this error?

Thanks
0 Kudos
4 Replies
Steven_L_Intel1
Employee
1,099 Views

What is "the necessary size"? If you are on 32-bit Windows, about 1.75GB total address space is the most you can hope for. More RAM might help, to a point, as might increasing your pagefile size. But more likely is that you've hit the 32-bit wall and that the only solution is to move to the x64 platform (and use the Intel 64 compiler).
0 Kudos
pskerlj
Beginner
1,099 Views

What is "the necessary size"? If you are on 32-bit Windows, about 1.75GB total address space is the most you can hope for. More RAM might help, to a point, as might increasing your pagefile size. But more likely is that you've hit the 32-bit wall and that the only solution is to move to the x64 platform (and use the Intel 64 compiler).

Ok that makes sense.

Iuse a 64-bit operating system, which I assume is a requirement?

What is the difference between IVF for Intel 64 and IVF for IA-64, and which one should I use.

Thanks.
0 Kudos
TimP
Honored Contributor III
1,099 Views
IA-64 means Itanium, not Xeon or Core or AMD, so you almost certainly want Intel64.
0 Kudos
Steven_L_Intel1
Employee
1,099 Views

Note that in Visual Studio, it always selects a 32-bit build when you create a new project. To change to 64-bit, select Build > Configuration Manager. Under Active Solution Platform select . Make sure the New platform is "x64" then click OK then Close.
0 Kudos
Reply