How can I increase my application memory, till using the VirtualAlloc function, with the WOW64?
        Posted  
        
            by fishbein
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by fishbein
        
        
        
        Published on 2010-03-15T14:45:24Z
        Indexed on 
            2010/03/15
            14:49 UTC
        
        
        Read the original article
        Hit count: 282
        
x64
I have application that runs on x86 32Win and we use 1.2Gbyte memory which allocated from the function VirtualAlloc(to prevent page faults).
I really want to increase my application memory so I recompiled my project under MSDVE 2008 with wow64 (OS Exp 64Bit).
I tried to allocate more than 2Gbyte and the function VirtualAlloc return error.
I even tried to set the flag LARGEADDRESSWARE to on, and the result was the same!
How can I increase my application memory, till using the VirtualAlloc function, with the WOW64?
© Stack Overflow or respective owner