|
-
February 6th, 2008, 07:59 AM
#1
MapViewOfFile problems
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
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames
-
March 6th, 2012, 01:18 AM
#2
Re: MapViewOfFile problems
I think I'm having the same issue.
Does anyone has an answer?
-
March 6th, 2012, 02:39 AM
#3
Re: MapViewOfFile problems
I think I may know the answser:
please see this article: http://blogs.technet.com/b/markrussi...6/3211216.aspx
there is a 491mb limitation on xp for paged pool
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|