Size of an executable
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
I don't have any definite knowlege on this - but it stands to reason that windows would not like this at all. I think you may just have to bite the bullet, and turn it into a loader and "companion file". If this is an installer we're talking about, and you absolutly must have one file, you could try producing an MSI file instead of a self extracting installer. Joel Holdsworth Wanna give me a job this summer? Check out my online CV and project history[^]
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
The system, on a regular x86 installation of Windows, will be unable to load an image that large because it will run out of virtual address space in the process. Stability. What an interesting concept. -- Chris Maunder
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
-
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
Hello, If the exact size of the executable is more than 2GB the problem can be that windows has not enough adress space left to create a heap and / or a stack. I don't know if the linker will complain about having not enough adress space left... But honestly, what were you thinking when you made that 1.5GB jumbo executable 500MB bigger? Like other people mentioned, you should try and put some of those MB's in a separate file. I also got the blogging virus..[^]
-
Hello, If the exact size of the executable is more than 2GB the problem can be that windows has not enough adress space left to create a heap and / or a stack. I don't know if the linker will complain about having not enough adress space left... But honestly, what were you thinking when you made that 1.5GB jumbo executable 500MB bigger? Like other people mentioned, you should try and put some of those MB's in a separate file. I also got the blogging virus..[^]
Thanks for the comments. My executable contains data to create a DVD movie. Its something like packing all data inside the executable and on execution it creates a DVD movie with the data it hosts. Its not a setup exe. I cannot put the data in seperate files. It has to be one single executable. :( When the exe was 2 GB, it didn't issue any sys warning or error message, but a application error saying the header could not be read. I think the Loader didnot create the executable fully/properly. But with 1.5 GB data, it worked fine. Vini
-
Hi, Is there any size limit on an executable created? My Loader application creates an executable which hosts certain data files. But the exe (having 2 GB size) fails to execute , while it was successful to execute exe having 1.5GB size. I use Win2k professional with 256MB RAM. Waiting for your valuable comments :) Thanks, Vini
2GB executable file. You must be kidding ... Rahim Rattani Software Engineer, Matrix Systems (Pvt) Ltd., Karachi - Pakistan
-
2GB executable file. You must be kidding ... Rahim Rattani Software Engineer, Matrix Systems (Pvt) Ltd., Karachi - Pakistan