Click here to Skip to main content
15,911,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: read a percent from a file Pin
James R. Twine20-Nov-02 10:59
James R. Twine20-Nov-02 10:59 
GeneralRe: read a percent from a file Pin
Amit Dey20-Nov-02 11:10
Amit Dey20-Nov-02 11:10 
GeneralRe: read a percent from a file Pin
User 988520-Nov-02 11:23
User 988520-Nov-02 11:23 
GeneralRe: read a percent from a file Pin
Amit Dey20-Nov-02 11:30
Amit Dey20-Nov-02 11:30 
GeneralRe: read a percent from a file Pin
James R. Twine20-Nov-02 13:20
James R. Twine20-Nov-02 13:20 
GeneralRe: read a percent from a file Pin
User 988520-Nov-02 13:31
User 988520-Nov-02 13:31 
GeneralRe: read a percent from a file Pin
James R. Twine20-Nov-02 13:59
James R. Twine20-Nov-02 13:59 
GeneralRe: read a percent from a file Pin
User 988521-Nov-02 5:26
User 988521-Nov-02 5:26 
you are right.

The file is always mapped into the process address space, which is 2 GB. But since the mapping is to a logical process address space, i do not think that there will be a failure to map a view, if the physical address space is fragmented. AFAIK, It will just cause more page faults, because each logical page can be mapped to a different physical page.

I am saying this because I have mapped 512 MB on a machine with 512 MB RAM, obviously, there was not enough physical memory to do that. In any case, the idea is to be able to use more memory than available physically.

Thomas




My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers


modified 29-Aug-18 21:01pm.

GeneralRe: read a percent from a file Pin
James R. Twine21-Nov-02 9:17
James R. Twine21-Nov-02 9:17 
GeneralRe: read a percent from a file Pin
Amit Dey21-Nov-02 10:34
Amit Dey21-Nov-02 10:34 
GeneralRe: read a percent from a file Pin
User 988521-Nov-02 10:45
User 988521-Nov-02 10:45 
GeneralRe: read a percent from a file Pin
Amit Dey21-Nov-02 12:03
Amit Dey21-Nov-02 12:03 
GeneralRe: read a percent from a file Pin
Amit Dey21-Nov-02 10:35
Amit Dey21-Nov-02 10:35 
GeneralRe: read a percent from a file Pin
James R. Twine21-Nov-02 17:37
James R. Twine21-Nov-02 17:37 
GeneralRe: read a percent from a file Pin
Amit Dey22-Nov-02 4:24
Amit Dey22-Nov-02 4:24 
GeneralUI Thread question.. Pin
RobJones20-Nov-02 10:41
RobJones20-Nov-02 10:41 
GeneralRe: UI Thread question.. Pin
James R. Twine20-Nov-02 10:43
James R. Twine20-Nov-02 10:43 
GeneralRe: UI Thread question.. Pin
RobJones20-Nov-02 10:48
RobJones20-Nov-02 10:48 
GeneralRe: UI Thread question.. Pin
James R. Twine20-Nov-02 13:26
James R. Twine20-Nov-02 13:26 
GeneralRe: UI Thread question.. Pin
RobJones21-Nov-02 2:57
RobJones21-Nov-02 2:57 
GeneralRe: UI Thread question.. Pin
shahshi14-Dec-10 23:03
shahshi14-Dec-10 23:03 
GeneralOnOK Pin
Le centriste20-Nov-02 10:27
Le centriste20-Nov-02 10:27 
GeneralRe: OnOK Pin
Chris Losinger20-Nov-02 10:32
professionalChris Losinger20-Nov-02 10:32 
GeneralRe: OnOK Pin
Le centriste20-Nov-02 10:52
Le centriste20-Nov-02 10:52 
Generalshellexecuteex, file associatationn editor Pin
pnpfriend20-Nov-02 10:15
pnpfriend20-Nov-02 10:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.