🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
what causes page files? etc
It is a costly process to swap pages in and out, especially for games. High swapping is usually a result of poor design/coding (no offense intended, we all to it to some degree). To minimize them, firstly try to slim down your code. Smaller code is better anyways. Also, something that is somewhat of a lost art on the PC, conserve on memory and structure sizes. Try to allocate things all at once, or if using a 'cache' approach, allocate one big block and manage it yourself for each cache of memory. Doing memory allocation in a willy-nilly approach results in memory fragmentation, which can easily result in more pages of memory used than are truly needed.
Rock