Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Virtual Memory vs RAM use

frank_peacock
Beginner
412 Views
Hello
How does CVF control virtual memory usage?
I have a program that has a very large VM size and smallish RAM size. I would prefer to have the program only use RAM and not VM at all? Is this possible to control within CVF?
Thanks
Frank Peacock
0 Kudos
1 Reply
Steven_L_Intel1
Employee
412 Views
CVF doesn't "control" virtual memory use at all - that's the operating system's job. I think there are Win32 API routines you can use to "lock" pages in memory, but I would advise you to let the OS take care of it - frequently referenced pages will stay in RAM. If you have performance problems due to insufficient RAM, well, add more RAM! It's cheap...
0 Kudos
Reply