Your "results" are difficult to read because you have not enclosed them in code tags [ in the "Quick Reply" window, click "Advanced" then the # icon, then paste your results between the tags - that way the columns will line up ] like this:
total used free shared buffers cached
Mem: 1034276 740368 293908 0 35876 485640
-/+ buffers/cache: 218852 815424
Swap: 610460 0 610460
But I think you are not out of memory.
You did say that you are running a 2.4 kernel "RH Enterprise 2.4.21-4", which is... well, really OLD.
Maybe it is time for an upgrade?
I missed that it was your first post to LQ, so here's "Welcome to LQ!"