On Thu, 10 May 2007 00:26:42 +0200, Alf P. Steinbach wrote:
>* arush:
>Hello,
My program in C runs fine on visual stdio. I get this warning
warning LNK4084: total image size 437272576 exceeds max (268435456);
image may not run
but the results are fine .Can someone guide me as to what this
message is and how i can get rid of it .
It means your program is larger than some limit imposed by your
environment (268435456 bytes = 256 MiB).
Yep. I was going to suggest to look at the MS docs... but this time
the OP is right: all I can see there is "The application exceeds the
limit of 256 megabytes.".
That's odd, as normally the MS documentation isn't so useless (render
unto Caesar... :-))
Now, if memory serves me correctly, Windows 95 and NT 4.0 pre-SP3 had
a process virtual address space limit of 256 MiB. The rest of the
Windows 32-bit family members have a 2 GiB limit (though linkers
aren't required to reach it :-)). The warning can be suppressed, but
he should really shrink the executable a bit :-s
--
Gennaro Prota
https://sourceforge.net/projects/breeze/