Hey, I'm developing a program that uses two pretty big memory mapped files. One 512 mb and one 256 mb. It works fine with Windows Vista (32 and 64 bit) and Windows XP 64 bit, but when ran under 32 bit Windows XP it crashes, because MapViewOfFile returns 0 on the second file.
I've determined by now that it works ok when having to deal with two 256 mb files or a single 512 mb file. But so far I cannot break the 512 mb total barrier.
It seems like the program is running out of address space. 32 bit WinXP programs have 2gb of address space. Both files are 768 mb, and the rest of the program uses about 100 mb more. So not even a gb.
Does anyone have an idea of what might be wrong?
Thanks in advamce for any help
