Click to Play

How Business Models Determine...
Determining what it is that makes a business successful is difficult, especially in this economy. Is success measured in numbers or profitability? As Matt...

Recent Articles

Windows XP Mode Now More Accessible To PCs
Microsoft recently announced an update to Windows XP Mode aimed at making it more accessible to PCs in small and midsize businesses who want to move to Windows 7 Professional but have applications...

How To Remove Your Recycle Bin From Your Desktop
I have been getting really frustrated that I can't hide or remove my recycle bin from my desktop. I have never really found it very useful to have to begin with, so how do I remove it? Chris answers: One of the...

Using Windows XP Movie Maker For Simple Videos
Looking to put together a touching video for a friend's wedding, or a simple montage of your family? If you own Windows XP, then you more than likely have the tools needed to put one together yourself.

How To Find Your Free Space On Windows XP
How do I find the amount of free disk space left on my Windows XP, Windows Vista, or Windows 7 machine? Dave's Answer: In Windows XP, Windows Vista, and Windows 7, the following steps will work for...


04.15.10



How To Save Your PC From Memory Loss

By Dave Taylor

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?

Dave's Answer:

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.

Comments


About the Author: Dave Taylor is known as an expert on both business and technology issues. Holder of an MSEd and MBA, author of twenty books and founder of four startups, he also runs a marketing company and consults with firms seeking the best approach to working with weblogs and social networks. Dave is an award-winning speaker and frequent guest on radio and podcast programs.

AskDaveTaylor.com
http://www.intuitive.com/blog/
About WinXPDigest
What's New With Windows? The WinXPdigest email newsletter and website provide the answers. Read WinXPdigest for the latest windows news and expert insight.





WinXPDigest is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITCertificationNews.com





-- WinXPDigest is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2010 iEntry, Inc. All Rights Reserved | Privacy Policy | Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


What's New With Windows? WinXPDigest News Archives About Us Feedback WinXPDigest Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact