Please could someone tell me how to discover what is using all of my RAM?
I am trying to run a vacuum against Postgres, but it fails immediately with:-
"ERROR: out of memory
DETAIL: Failed on request of size 1073741820."
DETAIL: Failed on request of size 1073741820."
TOP shows the following:-
Mem: 4077544k total, 3897868k used, 179676k free, 146960k buffers
Swap: 2000084k total, 440k used, 1999644k free, 3352892k cached
Swap: 2000084k total, 440k used, 1999644k free, 3352892k cached
None of the listed processes appear to be using more than 1 or 2% MEM.
Postgres v7.4.2 (upgrade underway)