LNK4084 - Simply unbelievable ;)
-
Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
-
Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
Are you statically declaring some huge array, something like:
char buffer[SOME_HUGE_NUMBER];
If not, a search on google hints at your temp directory being full, try cleaning it up. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Are you statically declaring some huge array, something like:
char buffer[SOME_HUGE_NUMBER];
If not, a search on google hints at your temp directory being full, try cleaning it up. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
I have a few static arrays used for temporary implementations, but total size of these arrays would be about 2-3MB, and I haven't added any recently (in fact I removed one). I think this is not it. Perhaps some VC++ bug. There are some (a "stepped" into some of them myself). Thanks anyway. Cheers. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
-
Houston, I have a problem. I'm working on an application recently and I have made some really little changes in the code. Now it's not working anymore. I was trying almost everything. Environment: Visual C++ 6.0 + service pack Output message: warning LNK4084: total image size 277245952 exceeds max (268435456); image may not run MSDN says: The application exceeds the limit of 256 megabytes. In fact the application has only 143 kilobytes and uses some DLL's giving totally 556KB. Does anyone met such a problem? Greetings and thanks in advance. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
-
[CoY0te] wrote: really little changes in the code what are those?(you had to do something to exceed 264 Mb)
Nothing that should have anything to do with the image size. I can't really tell when this warning message occured for the first time. Right now the application is working again but I still get this message. I did some changes in code, and then i've reconstructed one loop. Finally the code is almost the same as it was but somehow it works. At one moment it was just just a matter of 4 calls to glVertex (OpenGL;) between glBegin(GL_QUADS) and glEnd(). These calls used no arrays - they used immediate arguments, but adding them caused the crash - unbeleivable. I'm really getting sure it was it is a compiler or linker bug or something. I have solved the problem (temporally) but still heven't found the real reason. Thanks for your help. [ CoY0te ] Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.