Welcome to Gaia! :: View User's Journal | Gaia Journals

 
 

View User's Journal

I Dub Thee: "Special Edition"
Day 1832 (Leakages in Random Access Memory)
Felt obliged to write this, as I know in the past I've been victim to quite an easy-to-fix computer problem, and I've bought new computers probably because of it without knowing how to fix it.

Memory leaks.



wikipedia Wrote:
This part of the program is run whenever anyone inside the elevator presses the button for a floor.




Code:
When a button is pressed:
  Get some memory, which will be used to remember the floor number
  Put the floor number into the memory
  Are we already on the target floor?
    If so, we have nothing to do: finished
    Otherwise:
      Wait until the lift is idle
      Go to the required floor
      Release the memory we used to remember the floor number



The memory leak would occur if the floor number requested is the same floor that the lift is on; the condition for releasing the memory would be skipped. Each time this case occurs, more memory is leaked.



I find this interesting because if we were to compare the computer's random access memory to our human brain, it would still believe that the concentration is required for the task it was given, even if the person who gave the task is no longer present, using up unnecessary ability.

A neat (and free I might add) program called PowerStrip fixes this (among other things), providing you have a bit of a look through it's settings once you install it. The setting in question "automatically recover memory" checks all requests to your system memory by programs, and makes sure all requests are currently in use, if memory isn't being used (requested by a program that is no longer running or even uninstalled) it will cancel the request and reallocate that to the available system memory. It performs this indefinitely while you have PowerStrip running.

While I'm being a salesperson for this software, I may as well also mention that you can use it to modify the screen brightness and gamma beyond factory settings (darker or brighter than your keyboard shortcut keys allow). Ever using your laptop in the dark and wish the sheer light it's emitting wasn't so blinding? You can drop it right down to the point where it's like you're reading a book in very pale light.

Anyway. 'nuff said. If you're on your computer all the time download this. The only thing you'll regret is the popup you have to watch for 20 seconds (but other windows can go over the top of it) unless you want to pay the developers money.

Peace.





 
 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games