running 32 bit C code .exe file using more memory to run on 64 bit machine?
Dear All
I have one .exe file which i have compiled on 32 bit machine and when i run this file from 32 bit machine it is taking maximum 12MB. and when i run same file from 64 bit machine it is going up to 1GB . i m not understanding how is it happening. is memory use of .exe files depends on System Type? |
I think yes because of size of pointers etc. But the difference should no that big.
I suspect there is a bug in your binary somewhere |
How the hell did you get an .EXE file on LINUX???!!!
|
Quote:
Code:
Evo2. |
Dear evo2,
Sorry But i m running this on windows machine...... |
Hi,
Quote:
Evo2. |
Dear Evo2,
Ya..... but running a .exe file on LINUX or windows the amount of memory used will be same? |
Hi,
Quote:
Evo2. |
Moderator Response
Moved: This thread is more suitable in <General> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
You can't compare the execution-time characteristics of one operating system with another.
This is true both when you compare Windows to Linux, and even when you compare 32-bit to 64-bit implementations of the same system. One key reason for the latter is "all the other stuff" that's running when your system is running. The libraries the app opens, and so forth. The system may promise that your application will run in the different environment, but it does not promise that the environment is the same; it is not. |
All times are GMT -5. The time now is 05:54 AM. |