From: | "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com> |
---|---|
To: | Kirk Wythers <kwythers(at)umn(dot)edu> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: trouble with a join on OS X |
Date: | 2007-02-02 14:41:18 |
Message-ID: | 20070202144118.GA20529@uio.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Fri, Feb 02, 2007 at 07:52:48AM -0600, Kirk Wythers wrote:
> psql(15811) malloc: *** vm_allocate(size=8421376) failed (error code=3)
> psql(15811) malloc: *** error: can't allocate region
> psql(15811) malloc: *** set a breakpoint in szone_error to debug
It sounds like you are out of memory. Have you tried reducing work_mem?
Actually, what does your postgresql.conf look like with regard to memory
settings?
> This a a dual G5 box with 6 gigs of ram running postgresql 8.1. I
> have not tired altering kernel resources (as described in http://
> www.postgresql.org/docs/8.1/interactive/kernel-resources.html#SHARED-
> MEMORY-PARAMETERS), or compiling for 64 bit. I'm just not sure what
> to try next. Does anyone have any suggestions?
Compiling for 64 bit might very well help you, but it sounds odd to use
several gigabytes of RAM for a sort.
Could you post EXPLAIN ANALYZE for the query with only one row, as well
as your table schema?
/* Steinar */
--
Homepage: http://www.sesse.net/
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-02-02 14:45:20 | Re: trouble with a join on OS X |
Previous Message | Kirk Wythers | 2007-02-02 13:52:48 | trouble with a join on OS X |