Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

Fortran : insufficient memory

antfu
Beginner
685 Views

Dear all,

I have been running my code successfully with my Intel Fortran 10, right now I need to add more allocatable variables and I got an error "insufficient virtual memory". I am sure my computer has enough memory to run this program. Is there a way to change the setting in fortran in some way to make this work? Thanks

0 Kudos
5 Replies
Peter_W_Intel
Employee
685 Views

You use Intel? Fortran Compiler 10 which is very old - now current version is 13.

Please go  Intel® Visual Fortran Compiler for Windows* forurm or Intel® Fortran Compiler for Linux* and Mac OS X* forum to discuss.

Regards, Peter

0 Kudos
TimP
Honored Contributor III
685 Views

If you are in 32-bit mode, you can't extend the address space used by your allocatable arrays beyond the 2GB segment available to Fortran.  As Peter said, this looks like an issue to search for similar question and ask followups on one of the Fortran forum sections.

0 Kudos
SergeyKostrov
Valued Contributor II
685 Views
>>...I got an error "insufficient virtual memory"... Please follow these steps in order to increase size of a Virtual Memory for Windows OSs: Control Panel -> System -> Advanced -> In Performance groupbox 'Settings' -> Advanced -> In Virtual Memory groupbox 'Change' -> Increase Initial and Maximum sizes by 2 or 4 -> Press OK -> A computer restart could be requested.
0 Kudos
SergeyKostrov
Valued Contributor II
685 Views
This is a short follow up. >>...I got an error "insufficient virtual memory"... Run msinfo32.exe utility and it will show current settings for the Virtual Memory. For example, on a 32-bit WIndows platform it could look like: ... Total Virtual Memory 2.00 GB Available Virtual Memory 1.96 GB ...
0 Kudos
Bernard
Valued Contributor I
685 Views

Sysinternals VMMap tool will give a more accurate breakdown of memory usage.

0 Kudos
Reply