Thread: BUG #4345: ERROR: OUT OF MEMORY

BUG #4345: ERROR: OUT OF MEMORY

From
"Glaucio Pedro"
Date:
The following bug has been logged online:

Bug reference:      4345
Logged by:          Glaucio Pedro
Email address:      gpamaster@gmail.com
PostgreSQL version: 8.2
Operating system:   Linux
Description:        ERROR: OUT OF MEMORY
Details:

Dear Fellow,

I have been trying to restore a file through the pgAdmin (Version:1.8.2)and
the following message has been exhibited (although the metioned file´s size
is roughly 20kb):
"pg_restore [arquive] out of memory"


What is the solution for this problem?

Best Regards,

Re: BUG #4345: ERROR: OUT OF MEMORY

From
Tom Lane
Date:
"Glaucio Pedro" <gpamaster@gmail.com> writes:
> I have been trying to restore a file through the pgAdmin (Version:1.8.2)and
> the following message has been exhibited (although the metioned file´s size
> is roughly 20kb):
> "pg_restore [arquive] out of memory"

8.2.what?

If it's pre-8.2.5, I'd venture that the archive file has been truncated
and you're seeing a variant of this problem:
http://archives.postgresql.org/pgsql-patches/2007-08/msg00059.php

            regards, tom lane