Windows 7 Paging file apparently not being used
- by Daniel F.
I'm running Windows 7 Home Premium 32bit on a mobo with 24GB RAM.
Of those 24GB, 20GB are assigned as a RAMDISK via ASRock XFastRAM. This RAMDISK has the drive letter X assigned to it.
On X:\ I'm storing the temporary files folder, as well as pagefile.sys. Pagefile.sys has 6GB of size. The X:\ has usually around 14GB free space, so the temporary files are negligible, it's mostly the browsers which are storing their caches on there.
Now my issue is that Firefox is crashing a lot on me, no error message pops up, but I know that this is because it's out of memory.
I could kind of live with that, but now that I switched from using Eclipse to Android Studio, I know that I'm in trouble, because Java isn't capable of allocating, and Android Studio, together with the Java instances it launches, is quite a memory hog.
So I tried to figure out what's wrong, and apparently Windows isn't swapping out memory onto the paging file.
While my applications are crashing (firefox) / not starting (java vm's), the paging file is only using constantly around 15% of its size (checked with the performance monitor). 15% equals to 1GB aprox.
I know that the correct solution would be to switch to 64 bit Windows, but I had to use the 32 bit version because of driver issues which I had about two years ago, and I guess that I'll have them again if I reformat and install the 64 bit version.
Also, the machine is running quite stable, the only issue is the memory, so I'd like to use it as it is (as the apps are installed and configured)
Is there a way to make Windows use the paging file more efficiently? None of my processes require more than 1GB, I'd just like it to swap out some seldomly used stuff, like GoogleCrashHandler.exe and stuff like that in order to have "more physical memory avaliable". Is that possible?