I started this post when there were no responses.
It's NOT normal for you to have 40 gb of temporary files, ever !
The hard drive does not have memory - it has data storage space.
The amount of memory available for Windows to use depends on
- the amount of ram you have installed in your mboard - you have not stated how much that is
- the amount of memory being used by programs that are running at the time.
(Data for programs that are not running at the time use no memory.)
The amount of virtual memory available to Windows is determined by the amount of your installed ram that is not presently being used by programs and by the amount of free space you have left on the hard drive partition Windows is running from , which is usually the C partition. If the free space left on that partition is less than about 10% of the total size of that partition, Windows will run a lot slower than it otherwise would, and there will be less virtual memory available to Windows.
If you get a message about not enough drive space on a hard drive partition, that's a different matter.
Start - Run - type: msinfo32 (click on OK or press Enter)
On the right side of the first screen you see, what does it say beside the lines
Total Physical Memory ?
Available Physical Memory ?
Total Virtual Memory ?
Available Virtual Memory ?
When you RIGHT click on the drive letter of the hard drive partition Windows is running from, which is usually C, select Properties,
- what is the total size of the partition ?
- how much free space is left on the partition ?
When you RIGHT click on the Windows folder, select Properties, what size does that show ?
When you RIGHT click on the Windows/Installer folder select Properties, what size does that show ?