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

Increasing Maximum Allowable Image Size

grmakai
Principiante
1.457 Visualizações
Hello-

I am trying to compile in Microsoft Visualt Studio 2005using the integratedIntel Fortran 9.1 compiler. When I increase the size of my (statically allocated) arrays I getthe linking error:

error LNK1238: image size (93F1E000) exceeds maximum allowable size

I know that this error indicates that the code is trying to write an executable that is too large. When I was compiling on a machine running 32-bit Windows XP, I simply limited the array sizes . But I now have access to a computer running 64-bit Windows 7, and would like to increase my array sizes. I have installed Visual Studio 2005 with the x64 Compiler tools. Is there a way to increase the maximum allowable size of the exectuables, since the machine has much more memory? Or is it always going to be limited by Visual Studio 2005, which is running as a x86 program?

Thank you,
Greg
0 Kudos
1 Responder
Wendy_Doerner__Intel
Contribuidor valorado I
1.457 Visualizações
Greg,

The short answer is that you can increase data size as long as it is allocated dynamically. Steve Lionel has a great article that explains all the details.

------

Wendy

Attaching or including files in a post




Responder