Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread Scott Marlowe
On Tue, Feb 9, 2010 at 1:55 PM, John R Pierce wrote: > Guillaume Lelarge wrote: >>> >>> is this a 64bit postgres build? >>> >>> if not, you're probably running out of virtual address space in the 32 >>> bit user space, which is limited to like 2gb. >>> >>> >> >> IIRC, the virtual address space in

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread John R Pierce
Guillaume Lelarge wrote: is this a 64bit postgres build? if not, you're probably running out of virtual address space in the 32 bit user space, which is limited to like 2gb. IIRC, the virtual address space in 32bit platforms is 4GB. it is, but within that 4gb, the kernel uses the to

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread David Kerr
Magnus Hagander wrote: On Tue, Feb 9, 2010 at 09:53, David Kerr wrote: Guillaume Lelarge wrote: Le 09/02/2010 09:35, David Kerr a écrit : Guillaume Lelarge wrote: Le 09/02/2010 05:49, John R Pierce a écrit : David Kerr wrote: maintenance_work_mem = 1GB So evidently, when it tries to actua

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread Magnus Hagander
On Tue, Feb 9, 2010 at 09:53, David Kerr wrote: > Guillaume Lelarge wrote: >> >> Le 09/02/2010 09:35, David Kerr a écrit : >>> >>> Guillaume Lelarge wrote: Le 09/02/2010 05:49, John R Pierce a écrit : > > David Kerr wrote: maintenance_work_mem = 1GB >>>

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread David Kerr
Guillaume Lelarge wrote: Le 09/02/2010 09:35, David Kerr a écrit : Guillaume Lelarge wrote: Le 09/02/2010 05:49, John R Pierce a écrit : David Kerr wrote: maintenance_work_mem = 1GB So evidently, when it tries to actually allocate 1GB, it can't do it. Ergo, that setting is too high for your

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread Guillaume Lelarge
Le 09/02/2010 09:35, David Kerr a écrit : > Guillaume Lelarge wrote: >> Le 09/02/2010 05:49, John R Pierce a écrit : >>> David Kerr wrote: >> maintenance_work_mem = 1GB > So evidently, when it tries to actually allocate 1GB, it can't do it. > Ergo, that setting is too high for your mach

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread David Kerr
Guillaume Lelarge wrote: Le 09/02/2010 05:49, John R Pierce a écrit : David Kerr wrote: maintenance_work_mem = 1GB So evidently, when it tries to actually allocate 1GB, it can't do it. Ergo, that setting is too high for your machine. ... seems like i've got 2GB free. is this a 64bit postgre

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-09 Thread Guillaume Lelarge
Le 09/02/2010 05:49, John R Pierce a écrit : > David Kerr wrote: maintenance_work_mem = 1GB >>> >>> So evidently, when it tries to actually allocate 1GB, it can't do it. >>> Ergo, that setting is too high for your machine. >>> ... >> >> seems like i've got 2GB free. > > > is this a 64bit pos

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-08 Thread John R Pierce
David Kerr wrote: maintenance_work_mem = 1GB So evidently, when it tries to actually allocate 1GB, it can't do it. Ergo, that setting is too high for your machine. ... seems like i've got 2GB free. is this a 64bit postgres build? if not, you're probably running out of virtual address spa

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-08 Thread David Kerr
Tom Lane wrote: David Kerr writes: Tom Lane wrote: David Kerr writes: I get: vacuumdb: vacuuming of database "assessment" failed: ERROR: out of memory DETAIL: Failed on request of size 1073741820. What have you got maintenance_work_mem set to? maintenance_work_mem = 1GB So evidently,

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-08 Thread Tom Lane
David Kerr writes: > Tom Lane wrote: >> David Kerr writes: >>> I get: >>> vacuumdb: vacuuming of database "assessment" failed: ERROR: out of memory >>> DETAIL: Failed on request of size 1073741820. >> >> What have you got maintenance_work_mem set to? > maintenance_work_mem = 1GB So evidently

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-08 Thread David Kerr
Tom Lane wrote: David Kerr writes: I'm getting error: When I try vacuumdb -z assessment or vacuumdb assessment I get: vacuumdb: vacuuming of database "assessment" failed: ERROR: out of memory DETAIL: Failed on request of size 1073741820. What have you got maintenance_work_mem set to?

Re: [GENERAL] vacuumdb ERROR: out of memory

2010-02-08 Thread Tom Lane
David Kerr writes: > I'm getting error: > When I try > vacuumdb -z assessment > or > vacuumdb assessment > I get: > vacuumdb: vacuuming of database "assessment" failed: ERROR: out of memory > DETAIL: Failed on request of size 1073741820. What have you got maintenance_work_mem set to?