If the problems are becoming more and more frequent, it may be best to just bite the bullet and get some RAM.
Out here(Canada), 1GB of DDR2 is like, $40 or so. If your machine is really ancient and uses DDR as opposed to DDR2, it might be a bit pricier(I got mine for $65, but RAM is a solid investment if you already have faulty memory to begin with).
The hassle of trying to find a software fix when it's hardware sometimes isn't worth it. Especially if your machine has other uses(productivity, et cetera) than just RO.