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

Memory allocation

yetzbach
Beginner
558 Views
Does anyone know if Compaq Visual Fortran v.6.6 has a limit to the size of an array that can be allocated? I am trying to allocate a 2.2 GB array. My machine has 3.5 GB RAM but the program will not allocate this.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
558 Views
32-bit Windows has a hard limit of 2GB. The practical limit is somewhat less. It isn't a compiler limitation. The amount of RAM you have does not directly affect this (except that too little RAM will mean you can allocate even less.)

Some versions of Windows can be booted with a special option to expand the process address space to 3GB. For more information, see Virtual Address Space (MSDN article).
0 Kudos
Reply