Randy Stead -> RE: Memory Leaks (1/31/2021 7:32:29 PM)
|
quote:
ORIGINAL: RhinoDad quote:
things started to get sluggish. I will assume this is what is meant by a memory leak, as it's the first time I've heard the term Yes, that is one of the causes of increasing sluggishness cured by a reboot. As program runs, do to sloppy programming, Faulty OS, quirks in language, etc.. Computer memory is set aside for a process, when the process is complete the memory set aside is not destroyed and remains set aside. As these unused portions of memory that had been reserved pile up then the usable memory becomes increasingly small. It is like your computer memory is slowly but surely leaking away. It is really just holding more and more aside for in a sense nothing. Kind of like a restaurant holding tables for guests that had left or never showed up. Without clearing (destroying) tables the restaurant has less and less available space to serve. Your OS when confronted with insufficient memory starts using a portion of your hard drive to store and use as memory. This swapping back and forth from drive to memory slows your computer down and eventually may cause software or computer failures. Memory is much faster than drive; when you add in swap time it is incredibly slower. Great explanation, RD, thanks! I retrained in one area of IT after a workplace accident, choosing computers since they were a hobby at the time. I got certified in PC repair and Windows Administration. My heart was in the hardware side, loved upgrading and tinkering inside the box. No interest at all in programming or software. People would ask me about spreadsheets and software suites; I'd reply, [&:] I'm a hardware guy. I know one of the most important aspects to computer performance is the size of cache on the CPU. A CPU checks both cache and RAM before hitting the hard drive. I always check this when comparing machines when shopping or advising someone else. I also know this is one area where companies can economize to put a cheaper product out the door. Recently I was looking at notebook PC specs during a Boxing Day sale. There were what seemed like good offers but then when you look at the specs you think hmm, maybe not. Things like processor cache, memory size and speed, what is the configuration of the memory installed, how many open expansion slots, etc. If you never plan on adding stuff later it does not matter so much, but it really sucks when you wish to double your system memory and the maker has populated all of the memory banks. This means you have to actually reduce what is already there to make room for what you wish to put in. Another booster of performance is the solid state drive. I've noticed a jump in boot times and game loading time and performance since switching to SSD. Can you believe it, there are still manufacturers putting conventional hard drives with 5400 RPM into notebook computers. Are there still cars made today that have carbs in place of fuel injection?
|
|
|
|