
Leaky RAM is ruining my PC?This has been bothering me for quite some time, and noone else has been able to give me a good answer: How do you retrieve RAM lost to memory leaks? I have one gig of RAM my computer, but I can only use 550MB of it... I just recently got into programming, and I am sure that memory leaks are the cause of this RAM loss. Is there a program I can use, is my RAM now useless, or did I miss something? Somehow, the image I get from what you're describing is that of a bag of grain with a small hole gnawed in the corner: the more time passes, the smaller the bag becomes. RAM, however, doesn't work that way (which is just as well or we'd have stray bits all over the floor around our computers!) A "memory leak" is something that happens in an individual program or, on very rare occasions, within the operating system itself, and it produces a program that over time has an increasingly large appetite for memory. Typically memory leaks are because of sloppy programming, where, for example, a routine might request and instantiate a block of memory for an array each time it's called, but never free it up. In the Unix world we'd be talking about malloc and free, the two key routines for managing memory in an application. On a Windows system there are equivalent system calls within just about all robust programming language environments. However, since I believe we're not talking about memory leaks (and one more characteristic of a memory leak: the amount of free memory shrinks over time which you aren't seeing), I will instead suggest that what you're seeing is either: 1. Bad Memory - when your computer boots up, at one point it should indicate to you how much usable memory there is. Does it agree with what you've installed? You can also look in your BIOS configuration to find out. (I have an older PC where I added 512MB of RAM to bring it up to 756MB, just to find out that the motherboard/BIOS doesn't support more than 512MB. But it indicated that to me during bootup.) 2. A Greedy OS - if your hardware does have all the memory available, you might well have some sort of spyware, virus or even legitimate application that's automatically started when your OS launches that's eating up tons of your memory. One way you can check this is to use Microsoft's Task Manager, which can monitor memory usage among its many capabilities. Hope this helps you out! Another possibility for your system slowing down, by the way, is that you have a virus or some spyware. Even if that seems remote, you must have both a solid antivirus solution and anti-spyware solution. I recommend AVG Antivirus for the former and Spy Sweeper for the latter.
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
Windows Help
(Article 4318)
Tagged: memory, microsoft windows, ram Previous: Contact groups in Google Gmail? Next: Stuck in the Google Sandbox or Delisted? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. There is a free software program out there called RAMFree which should do the job of recovering RAM on you XP system. Posted by: Doanld Calloway at December 17, 2005 2:55 PMI also recomment the free ram program... it is kept our older limited machine running much better. I sell on ebay and do photos etc as well as using a listing program.... they can be memory hungry, but the freeram program keeps everybody happy with minimal pauses! Free ram xp pro Posted by: meg at December 20, 2005 9:37 AMDon't forget about chip creep; it's possible your RAM just got unseated somehow. Posted by: Tyler Puckett at December 20, 2005 2:07 PMI have a lot to say, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|