On Wed, Aug 02, 2006 at 12:37:47AM -0400, Tom Lane wrote: > adey <adey11@xxxxxxxxx> writes: > > 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." > > I'd bet lunch that this is a corrupt-data problem, not an out-of-memory > problem --- specifically, a bad value in a field length word. See the > archives for many prior examples. 1073741820 = 3ffffffc = 00111111111111111111111111111100 That doesn't explain anything but it's an interesting-looking number. -- Michael Fuhr