Re: trouble with a join on OS X
От | Steinar H. Gunderson |
---|---|
Тема | Re: trouble with a join on OS X |
Дата | |
Msg-id | 20070202144118.GA20529@uio.no обсуждение исходный текст |
Ответ на | trouble with a join on OS X (Kirk Wythers <kwythers@umn.edu>) |
Ответы |
Re: trouble with a join on OS X
|
Список | 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/
В списке pgsql-performance по дате отправления: