Skip site navigation (1) Skip section navigation (2)

Re: out of memory in backup and restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Markus <t(dot)markus(at)proventis(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: out of memory in backup and restore
Date: 2006-12-15 15:44:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Thomas Markus <t(dot)markus(at)proventis(dot)net> writes:
> logfile content see

It looks to me like you must have individual rows whose COPY
representation requires more than half a gigabyte (maybe much more,
but at least that) and the system cannot allocate enough buffer space.

It could be that this is a symptom of corrupted data, if you're certain
that there shouldn't be any such rows in the table.

> kernel is 2.6.15-1-em64t-p4-smp, pg version is 8.1.0 32bit

You really need a 64-bit PG build if you want to push
multi-hundred-megabyte field values around --- otherwise there's just
not enough headroom in the process address space.  (Something newer than
8.1.0 would be a good idea too.)

			regards, tom lane

In response to


pgsql-admin by date

Next:From: Tom LaneDate: 2006-12-15 15:49:48
Subject: Re: invalid types and tables
Previous:From: Joshua ColsonDate: 2006-12-15 15:23:16
Subject: Re: Change "shutdown time" was: Change "database system

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group