Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

Limit for the size of a Visual Fortran program in Windows

I have a program with large arrays for ML analyzis in Visual Fortran "Visual Fortran Composer XE 2013 SP1 Update 6"  win 10 home 64 bit.

I Think I get memory limit errors but I have 32 GB ram memory. The arrays are around 2 GB large in bytes.

Is there a limit how large a Visual Fortran can be?

 

If I look in 

 

 

IS the

 

0 Kudos
3 Replies
Highlighted
Valued Contributor II
1 View

Theoretically, I'd say, as

Theoretically, I'd say, as large as the memory in your  machine but smaller than the limits of 64-bits addresses. But that is idle speculation. Can you describe the problems you are facing? Complaints from the compiler, run-time errors, that sort of things. Large arrays cannot come from the stack - they have to be allocated or be defined as SAVEd, because the stack on Windows has a limited fixed size.

The current lack of details does not allow us to give you any specific advice ;).

0 Kudos
Highlighted
Black Belt
1 View

Please see the article https:

Please see the article https://software.intel.com/en-us/articles/memory-limits-applications-windows .

0 Kudos
Highlighted
Beginner
1 View

Many thanks for your comments

Many thanks for your comments! The comments helped me to solve the problem by increasing the stack size,

0 Kudos