Questions and Answers :
Windows :
Windows 7 64 bit system with 16Gb RAM but no paging file?
Message board moderation
Author | Message |
---|---|
SirionStig Send message Joined: 9 Oct 02 Posts: 30 Credit: 128,470 RAC: 0 |
I have been running this setup without a problem for about 4 weeks. Can anyone tell me factully if this is a mistake? Home premium, all hardware is 64 bit. DDR3 in 4 sticks. Appears to be faster than using having a swap file set. Don't ask why I have 16Gb... |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
I have been running this setup without a problem for about 4 weeks. You only need a swap file if the OS needs to save some memory to the hard disk. If you have sufficient RAM so that all memory operations happen in real RAM, the OS will never create the swap file. The OS will need to save memory to the swap file if more memory is allocated than available on the physical RAM chips. In other words, you probably have more RAM than you actually need. BOINC WIKI |
SirionStig Send message Joined: 9 Oct 02 Posts: 30 Credit: 128,470 RAC: 0 |
Thank you. |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
It should be noted though that according to Microsoft's Best Practices, it is highly recommended that you leave the swap file enabled and let Windows dynamically manage its size. In this type of setup, Windows will only create the swap file if it is needed, and is preferred if there's ever an errant process with a memory leak that consumes all RAM. Were this to happen without a swap file, the OS will spew out tons of "Out of Memory" errors and will become very unstable. |
SirionStig Send message Joined: 9 Oct 02 Posts: 30 Credit: 128,470 RAC: 0 |
Thanks for that VT. Can you tell me how likely that overflow is given that I have 16Gb? |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
Thanks for that VT. It depends on what you run. I routinely run a swapping file that large with 8GB RAM. However, some of the development tools are a bit RAM hungry as is the VM software, ... BOINC WIKI |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
John is right. It really depends on the software you run and whether that software "springs" a memory leak. |
BilBg Send message Joined: 27 May 07 Posts: 3720 Credit: 9,385,827 RAC: 0 |
"how likely" depends on the programmer writing the code. You have to estimate how often programmers forget to release the allocated memory, how much memory was allocated, how often that buggy part of code is executed ... The example (while (malloc(50));) at the end of this page: http://en.wikipedia.org/wiki/Memory_leak ... will consume all the memory probably in seconds. (especially if the loop is slightly changed to write something in the allocated memory and several instances of the program are run) Â - ALF - "Find out what you don't do well ..... then don't do it!" :) Â |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
John is right. It really depends on the software you run and whether that software "springs" a memory leak. It also depends on the basic amount of memory that is required for a particular program. Some applications need a huge amount even without any memory leaks. BOINC WIKI |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.