Re: Out of memory using ora2pg

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Prestation3(dot)EXPLOITATION(at)nexans(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory using ora2pg
Date: 2006-02-22 14:58:30
Message-ID: 11616.1140620310@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Prestation3(dot)EXPLOITATION(at)nexans(dot)com writes:
> Dumping table TRANSACTIONS...
> ........................................................DBD::Pg::st
> execute failed: ERROR: out of memory
> DETAIL: Failed on request of size 16.
> ERROR: out of memory
> DETAIL: Failed on request of size 16.

> Is it a problem with perl memory or posgresql memory ?

Given the spelling of the error message, that's coming from the server
side (I don't think we have any client-side code that uses DETAIL lines).
What is the exact SQL query that's being executed here? (If you don't
know, try enabling query logging in the server so you can find out.)
You should be able to replicate the failure by entering the same query
via psql. If so, let's see the output of EXPLAIN for the query.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ets ROLLAND 2006-02-22 15:11:25 PG 8 stop working !?
Previous Message jason.ctr.alburger 2006-02-22 14:47:25 ecpg error --> DbPg_cre_sect_buf.pgc:1334: ERROR: syntax error at or near "RELEASE"