Click here to Skip to main content
14,538,686 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Cp-Coder25-Nov-19 14:49
MemberCp-Coder25-Nov-19 14:49 
AnswerRe: Should I disable my Pagefile and Swapfile? Pin
Jörgen Andersson25-Nov-19 21:08
professionalJörgen Andersson25-Nov-19 21:08 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Cp-Coder25-Nov-19 23:20
MemberCp-Coder25-Nov-19 23:20 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Member 798912226-Nov-19 0:04
MemberMember 798912226-Nov-19 0:04 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Jörgen Andersson26-Nov-19 1:25
professionalJörgen Andersson26-Nov-19 1:25 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Dan Neely26-Nov-19 2:54
MemberDan Neely26-Nov-19 2:54 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Member 798912226-Nov-19 4:26
MemberMember 798912226-Nov-19 4:26 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Dan Neely26-Nov-19 4:39
MemberDan Neely26-Nov-19 4:39 
Member 7989122 wrote:
A pagefile wouldn't solve the problem of some process going berserk - it would just take a little longer.


No, but what it does do is to replace catastrophic random failure with graceful degradation. If you system gradually starts running slower than normal looking at task manager and seeing 25 of 16GB ram used will make the problem clear, and then you can go to the per app tab and see what the pig is. Failure to allocate ram will cause whatever program attempts to make the first allocation past the system being maxed out fail. In cases where the primary offenders ram footprint is slowly growing due to heap fragmentation will frequently be some other random application. The case I mentioned the first time around took so long to track down because it was completely random which of the half dozen applications we were running would terminate. As it was it only was resolved as fast as it was because I noticed there wasn't a pagefile. The person who disabled it had no idea it would cause problems and was busy chasing the same red herrings that my coworker and I were in trying to figure out why the new machines were unstable.

Your DOS story brings me back. I was only a kid at the time; but also the resident PC expert at home. Dealing with DOS games with different tight memory limits resulted in the PC having a half dozenish boot menu options that controlled what type of additional memory was enabled (XMS, EMS, both, or neither) along with if all the normal TSRs were loaded or just a subset to free more <640k ram. I knew what was what since I set it all up, my younger brother had a cheatsheet for when a game he wanted to play needed a non-default setting, everyone else in the house either just used the default or picked the direct to win3.1 option.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Member 798912226-Nov-19 6:01
MemberMember 798912226-Nov-19 6:01 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Member 798912226-Nov-19 3:51
MemberMember 798912226-Nov-19 3:51 
AnswerRe: Should I disable my Pagefile and Swapfile? Pin
Jörgen Andersson25-Nov-19 21:20
professionalJörgen Andersson25-Nov-19 21:20 
GeneralRe: Should I disable my Pagefile and Swapfile? Pin
Cp-Coder25-Nov-19 23:22
MemberCp-Coder25-Nov-19 23:22 
GeneralNow that's a nice idea Pin
OriginalGriff25-Nov-19 10:28
mveOriginalGriff25-Nov-19 10:28 
PraiseRe: Now that's a nice idea Pin
Jörgen Andersson25-Nov-19 10:48
professionalJörgen Andersson25-Nov-19 10:48 
GeneralRe: Now that's a nice idea Pin
PIEBALDconsult25-Nov-19 10:52
professionalPIEBALDconsult25-Nov-19 10:52 
GeneralRe: Now that's a nice idea Pin
Super Lloyd25-Nov-19 12:00
MemberSuper Lloyd25-Nov-19 12:00 
GeneralRe: Now that's a nice idea Pin
TheGreatAndPowerfulOz25-Nov-19 15:20
MemberTheGreatAndPowerfulOz25-Nov-19 15:20 
GeneralRe: Now that's a nice idea Pin
Super Lloyd25-Nov-19 15:48
MemberSuper Lloyd25-Nov-19 15:48 
GeneralRe: Now that's a nice idea Pin
TheGreatAndPowerfulOz25-Nov-19 15:22
MemberTheGreatAndPowerfulOz25-Nov-19 15:22 
GeneralRe: Now that's a nice idea Pin
dandy7225-Nov-19 16:16
Memberdandy7225-Nov-19 16:16 
GeneralRe: Now that's a nice idea Pin
Kornfeld Eliyahu Peter25-Nov-19 20:39
mveKornfeld Eliyahu Peter25-Nov-19 20:39 
GeneralRe: Now that's a nice idea Pin
den2k8825-Nov-19 21:10
professionalden2k8825-Nov-19 21:10 
GeneralRe: Now that's a nice idea Pin
Sander Rossel25-Nov-19 21:44
professionalSander Rossel25-Nov-19 21:44 
JokeRe: Now that's a nice idea Pin
Daniel Pfeffer25-Nov-19 23:51
professionalDaniel Pfeffer25-Nov-19 23:51 
GeneralRe: Now that's a nice idea Pin
PIEBALDconsult26-Nov-19 5:06
professionalPIEBALDconsult26-Nov-19 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.