Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use VirtualLock

Status
Not open for further replies.

wang

Programmer
Sep 20, 2001
4
GB

I have a math application needs memory upto 128 megabytes. VC starts memory swap (page fault) after 56 megabytes. I have 256 megabytes RAM installed. Some one told me to use VirtaulLockto prevent page fault. I checked the MSDN. But it is not clear to use it with malloc() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top