Page 1 of 1

[Help] Memory fix for bf2editor

Posted: 2009-12-22 16:10
by TeRR0R
Out of curiosity i patched my bf2editor executable with the memory fix we used for bf2.exe under vista/7 64bit.
While working with it, the editor utilized up to 2,6GB RAM under 7/64.
Is the original editor limited to 2GB at all?
If the answer is yes, this memory patch seems to have an effect.

Re: [Help] Memory fix for bf2editor

Posted: 2010-01-03 12:07
by bad_nade
All 32-bit Windows apps are limited to 2 gigabytes of memory per default.

Mark's Blog : Pushing the Limits of Windows: Virtual Memory


Edit:
I checked the original bf2editor.exe and it's not marked large address aware:

Code: Select all

FILE HEADER VALUES
             14C machine (x86)
               4 number of sections
        4468A3B4 time date stamp Mon May 15 18:52:20 2006
               0 file pointer to symbol table
               0 number of symbols
              E0 size of optional header
             10F characteristics
                   Relocations stripped
                   Executable
                   Line numbers stripped
                   Symbols stripped
                   32 bit word machine
whereas patched version is:

Code: Select all

FILE HEADER VALUES
             14C machine (x86)
               4 number of sections
        4468A3B4 time date stamp Mon May 15 18:52:20 2006
               0 file pointer to symbol table
               0 number of symbols
              E0 size of optional header
             12F characteristics
                   Relocations stripped
                   Executable
                   Line numbers stripped
                   Symbols stripped
                   [color=Red]Application can handle large (>2GB) addresses[/color]
                   32 bit word machine