[27 Dec 2009] if program is compiled as 1 .exe file, does it need more memory to use it?
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 27 Dec 2009 10:32:31 -0000
In compiling there is this option to include all the necessary files (brushes, sounds...) in one big .exe file.
If .exe files size is after that, say 100 Mb, does that mean that to run that program you need that 100 Mb of free memory?
Or does it only load the code part (ie. 1 Mb) and then keep loading those pictures and sounds on as needed basis, hence taking only say 2 Mb of memory to use the program?
If it does the latter way, then does it use more memory than putting separate .exe file and separate brush/sound files, and if it does take more memory to use .exe, then how much more memory does it take?
Is it like double the memory, or for example in way of 2Mb at start + size of files in use + 10 percent?
In compiling there is this option to include all the necessary files (brushes, sounds...) in one big .exe file.
If .exe files size is after that, say 100 Mb, does that mean that to run that program you need that 100 Mb of free memory?
Or does it only load the code part (ie. 1 Mb) and then keep loading those pictures and sounds on as needed basis, hence taking only say 2 Mb of memory to use the program?
If it does the latter way, then does it use more memory than putting separate .exe file and separate brush/sound files, and if it does take more memory to use .exe, then how much more memory does it take?
Is it like double the memory, or for example in way of 2Mb at start + size of files in use + 10 percent?