Is there any way to specify that you want something loaded to memory and not to the page file?
I have an array which should easily fit in memory, 600mb on 2056, but it insists on loading it to the page file.
Any help?
Is there any way to specify that you want something loaded to memory and not to the page file?
I have an array which should easily fit in memory, 600mb on 2056, but it insists on loading it to the page file.
Any help?
Unix/gcc
You really should let the OS manage memory.
Look into using mmap() to map the file into your process's address space.
gg