Re: ShmemAlloc errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nick Burrett <nick(at)dsvr(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ShmemAlloc errors
Date: 2003-10-16 17:33:41
Message-ID: 11970.1066325621@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nick Burrett <nick(at)dsvr(dot)net> writes:
> $ pg_dumpall >full.db
> pg_dump: WARNING: ShmemAlloc: out of memory
> pg_dump: Attempt to lock table "vs_dfa554862ac" failed. ERROR:
> LockAcquire: lock table 1 is out of memory
> pg_dumpall: pg_dump failed on bandwidth, exiting

Looks like you need to increase max_locks_per_transaction in postgresql.conf.
(You'll need to restart the postmaster to make this take effect.)

We don't normally hear of people needing that --- is there anything
unusual about the schema of this database?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-10-16 17:38:25 Re: problem with function to report how many records were changed
Previous Message Bruno Wolff III 2003-10-16 17:20:50 Re: easy way to insert same value into 2 columns