Lately I've been having a lot of glitches with my computer, and I'm really suspicious about my RAM. I need a program compatible with Ubuntu 12.4 LTS that will be able to check my RAM. Also I've tried the memtest86 boot-up program but didn't really understand it, or how it works.
There is not much to explain about memtest. Basically it moves patterns through all the memory cells in all possible combinations and therefore puts stress on the RAM.
There are only 2 things you need to know:
Usually if one pass has been completed and you have no error messages the RAM is probably good. There is not much benefit in letting memtest run for over a day. If your system is already heated up, then 1 to 3 passes are enough to know if the RAM is fine or faulty. The technical details show a lot of information that could be related to RAM issues like overclocking for example or a chipset that is beeing known to cause memory issues.
For basic usage and analysis it boils down to:
Note: There are kernel modules like Badram available, that detect bad memory cells and prevent the operating system from using them, but those are meant to be used for servers if I recall correctly and the best solution is still to replace the faulty RAM modules.
What RAM does not like is overclocking and heat.