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

LNK4084 warning- Is there anyway to increase the limit of 256 MB?

camille_dannunzio
941 Views

I am trying to run a FORTRAN & C mixed language Computational Fluid Dynamics (CFD)code that draws pictures with grids and movies. It runs on a unix and on a mac with no problems. In CVFI can compile and link the code but I get the following warning when Linking. Why is there such a hard limit? Can it be changed?

Linker Tools Warning LNK4084
total image size size exceeds max (256MB); image may not run
The application exceeds the limit of 256 megabytes.

Camille

0 Kudos
3 Replies
Steven_L_Intel1
Employee
941 Views
It's just a warning and you can ignore it if you're running on Windows 98 or newer. Older versions of Windows (95 and NT4 prior to SP3) couldn't activate an executable with more than 256MB of static code and data. The linker informs you of this.
Did you try to run the program? It should have run without problems unless you were using Windows 95 or an old NT.
0 Kudos
camille_dannunzio
941 Views

It bombs when it trys to write the plot data to a file

a visual fortran run-time error box pops up and says

fortl:severe(67): input statement requires too much data, unit 27, file ... uncoarseplot

which is the file I am trying to write to.

It is also haveing truoble with the windows. If a nother windo pops up the plot is unrecoverable in the area that was covered after moving the pop up window.

Camille

0 Kudos
Steven_L_Intel1
Employee
941 Views
That is unrelated to the link warning. If you had the problem the warning referred to, Windows would refuse to even start your executable.
The error you're getting is on a READ, not a WRITE, and says that you have more variables in the I/O list than data in the record.
0 Kudos
Reply