Virtual Memory in Visual C++ -


i have query regarding virtual memory. first of all, mention new field of programming. have read on visual memory.

now have program opens softwares require large amounts of memory (like example picture viewer). concerned computer, however, cannot spare of memory . , done visual c++. picture viewer running on physical memory.

but once software distributed, used on computers cant spare of physical memory. task research , find out how switch program using physical memory virtual memory. in end implementing myself.

so question is, how alter code in such way can prevent application using physical memory , instead, switch on virtual memory?

i'm not asking provide me copy paste code ofcourse, method so. also, if explain logic behind it, appreciate it.

loads of in advance.

the operating system in charge of deciding should stored in ram , should paged out vm. under abnormal circumstances, can useful can provide advice os app, recommended experts. novice, best bet trust os right thing.

why think need special behavior anyway? pictures small anyway. unless app dealing thousands , thousands, fit in ram.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -