This comes from a guide I posted at Notebook Review:
-----
So you just got your shiny new RAM, and you can't wait to upgrade your computer. Congratulations! You've been through the decision making process, scraped up the cash, placed the order, eagerly followed the tracking number, and now it's finally in your hands! This is what you've been waiting for!
But before you install those new sticks, close everything up and ride off into the sunset, there's one thing you really, REALLY should do first...
TEST THAT RAM
The sad fact is that RAM can easily get damaged, for a variety of reasons: manufacturing, packing, shipping, or even installing. Most damage comes from static electricity, and the effects of such damage can result in a system that randomly reboots once in a while, or one that won't boot at all. The latter is pretty obvious, but the former is usually blamed on the OS or something else. (Bad RAM is frequently the true cause of problems with Windows)
In any case, you should ALWAYS test your new RAM thoroughly before considering yourself "done" with it. It's also very important to do this as soon as you get it, so you won't miss the return deadline date. A lot of RAM has a good warranty on it, so that's also an option if you missed the window; you'll just have to deal with the manufacturer directly (which isn't really that bad, at least when I dealt with OCZ).
Testing
The best package out there for testing is called memtest86+. The original project, memtest86 (note the missing "+" sign), is still around, but was not updated for a long time. So the memtest86+ guys took over.
Memtest86+ is very easy to use. All you need to do is:

Running the test will take some time, and it's directly dependent on how much RAM you have. One full pass of tests took 45 minutes on my system while testing 2GB of RAM. Don't worry about the time -- just start a test before you go eat dinner or something. My experience has been that bad RAM shows up pretty quickly, but it's worth it to run at least one full pass. I often let it run all evening if I'm off watching TV or something.
What am I looking at here?
Dealing with Errors
If you get errors, it will be pretty obvious. The part of the screen that's currently blue and empty will fill up with RED error messages, you can't miss them. What the errors are really doesn't matter. All you need to know is that it's bad. A good RAM module should have zero errors.
At this point, all you can do is return the module to where you bought it, or get a replacement under warranty. There's no way to fix it, and there's no reason to live with it either. Do not put up with a bad module, get it replaced. Replacing it is the only way to make sure manufacturers don't get used to the idea that their customers will put up with bad quality.
Typically, all you need to say is "I tested it with memtest86+, and it was bad." Any memory manufacturer will know exactly what you're talking about, and shouldn't give you a hard time. Some places will cross-ship you a new one, while others will wait for you to send back the broken one before they'll replace it. That's just the way it is.
How important is this?
Personally, I've had about a 40% failure rate with the RAM I've purchased. Maybe I'm unlucky, or just have a lot of static electricity around, but I've almost always had to return at least one of the modules I've received.
RAM is one of the really base components in your system, and if it's bad, you will not be able to have a stable system, period.
If you have other questions, you can take a look at the memtest86+ F.A.Q.
i have hp laptop.i suddenly discovered a problem in the charging of my laptop battery.when it is plugged in it works properly but on turning it off and keeping it plugged in, the battery does not charge and if i attempt to start it without any ac supply it does not start.when it is working on power supply(ac mains) and if power fails process is no interrupted but it contiues(at this time the battery charge is used which is continuosly showing 17% remaining).please help me out.give me a solution other than repairing or changing battery.pllllzzzzzzz, im an engineering student and cant afford a battery renewal.looking for a solution.im very much upset with this.plzzzzzzzzz help me out.
thanks.
I think you will have better luck if you post to a laptop forum, like the one here: http://forum.notebookreview.com/
To be honest, if you go to a store they will, tell you have to buy a new one, they probably even have the knowledge but that will be their standard answer.
And when you finally realize that you have to do that do that I can give you the advice not to by the battery in a local store, search online, Amazon, EBay etc, it will be cheaper for you.
Good luck to you!
You should check out RAM Probe that is free to download at http://www.ramprobe.com
It is the same codebase as memtest86 but has support for newer motherboards, processors, etc. It also supports printing BadRAM patters.
The other reason I was posting was to point out that you can actually continue to use bad ram modules...at least on Linux. I use the BadRAM patched kernels and can use the bad ram with no problems whatsoever. Now, nothing like this exists for Windows but I just thought I'd point it out. I get my kernels from http://www.softwarecove.com/badram but you can patch any kernel yourself with the patches at http://rick.vanrein.org/linux/badram/download.html
Hope this helps somebody!
I always test the memory I buy with memtest. I had a problem with DDR1 stick I bought a while ago, RMA'ed and it was fine since. Recently, like 3 months ago I got 4 pairs of DDR2 memory, all worked fine. I did get errors in memtest when I put any of those sticks into the first slot on the motherboard which turned out to be mobo's fault. So yeah, with memtest you not only check your memory but also other related components.
Eeek, I just ran this on my shiny new laptop and it failed!
I hope the shop I bought it from will accept a memtest report as a reason for return - has anyone ever tried that?
Thanks,
Kate.
Any decent computer shop will recognize it when you say "memtest", and will replace the RAM for you. You do not need to get a new laptop, they should just be able to replace the RAM. It should take them about 5-10 minutes. If they complain and refuse to replace it, return the whole system and go buy at another shop.
The sad fact is that RAM can easily get damaged, for a variety of reasons: manufacturing, packing, shipping, or even installing. Most damage comes from static electricity, and the effects of such damage can result in a system that randomly reboots once in a while, or one that won't boot at all. The latter is pretty obvious, but the former is usually blamed on the OS or something else.
Thanks for this couldn't have come at a better time. I was just going to update my RAM
If the battery went dead while it was running, it shouldn't cause any problems (though I wonder why you would do that?) You should definitely get through at least one pass, and 2 is better. More than that is a good stress test for it, but by that point you can be reasonably sure that the RAM is OK.
hi i dont know how memtest got on my laptop but for some reason it is and ive ran tests after tests and it doesnt find any errors but when i restart it it automatically boots and starts the tests again. what do i need to do to make it stop? im runnin ubuntu 9.10
Most Linux distros come with memtest as an option when you boot the system. It sounds like the memtest line somehow got set as the default OS to boot. Check the /etc/grub.conf file and make sure you have the correct Linux kernel selected as the default OS to boot.