Re: 4gb Patch
Posted: Sun Nov 13, 2011 2:14 pm
Further clarification for those with 4GB or more running 64 bit Windows, and running a Large Memory Aware program.
If the executable is 32 bit, the most any process can use is 2GB user memory and 1GB system memory. Yes all the ram is available, but only 2GB user memory per process. If the executable is 64 bit, you get all your ram as user memory (minus what the system uses) available to all processes, subject to availabilty.
So is it worth making your 32 bit executables Large Memory Aware ?
The answer is definitely yes, provided the program or one of its components doesn't have extra consistency checks on the original file contents. The all new improved 4GB patch is a must-have for all people that can use it. You get another 1GB of user memory allocated to the process.
There are 3 common ways to patch a 32 bit executable.
1. binedit from MASM/VB/VC++ toolkit. Requires use of a DOS command line. Does not make a backup, so you need to make a copy first. Needless to say, you need to install a MS developer toolkit that contains binedit.
2. CFF Explorer. You change the PE header LMA bit with a GUI, but you have to "Rebuild" the PE header prior to saving, or the PE checksum will be wrong. Needless to say, you need to install CFF explorer.
3. 4gb_patch. Does everything you need, and makes a backup. Small standalone that does not need installing.
And the winner is : option 3. You know it makes sense. Make sure you use the new version, 44.0 KB (45056 bytes) executable dated Sat 12 Nov 2011 11:31:42 GMT. Available here - http://www.ntcore.com/files/4gb_patch.zip
Daniel says he will change the version number (still says 1.0.0.1) and year (still says 2007) and his website when he gets a chance. We should all be very grateful for his good work. I know I am.
If the executable is 32 bit, the most any process can use is 2GB user memory and 1GB system memory. Yes all the ram is available, but only 2GB user memory per process. If the executable is 64 bit, you get all your ram as user memory (minus what the system uses) available to all processes, subject to availabilty.
So is it worth making your 32 bit executables Large Memory Aware ?
The answer is definitely yes, provided the program or one of its components doesn't have extra consistency checks on the original file contents. The all new improved 4GB patch is a must-have for all people that can use it. You get another 1GB of user memory allocated to the process.
There are 3 common ways to patch a 32 bit executable.
1. binedit from MASM/VB/VC++ toolkit. Requires use of a DOS command line. Does not make a backup, so you need to make a copy first. Needless to say, you need to install a MS developer toolkit that contains binedit.
2. CFF Explorer. You change the PE header LMA bit with a GUI, but you have to "Rebuild" the PE header prior to saving, or the PE checksum will be wrong. Needless to say, you need to install CFF explorer.
3. 4gb_patch. Does everything you need, and makes a backup. Small standalone that does not need installing.
And the winner is : option 3. You know it makes sense. Make sure you use the new version, 44.0 KB (45056 bytes) executable dated Sat 12 Nov 2011 11:31:42 GMT. Available here - http://www.ntcore.com/files/4gb_patch.zip
Daniel says he will change the version number (still says 1.0.0.1) and year (still says 2007) and his website when he gets a chance. We should all be very grateful for his good work. I know I am.