Keith Parks <emkxp01@mtcc.demon.co.uk> writes:
> Recently, since about 1 week, I've had a nasty problem.
> Doing an "initdb" seems to suck up all available memory and almost
> kills the system, before dying itself with a SEGV.
Hmm --- no such problem noted here, and I've been doing lots of initdbs...
It must be somewhat platform-specific. See if you can get a coredump
and backtrace.
regards, tom lane