Re: Error message, which memory param should I increase?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: terry(at)ashtonwoodshomes(dot)com
Cc: "Postgres (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error message, which memory param should I increase?
Date: 2003-06-25 20:54:04
Message-ID: 16519.1056574444@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<terry(at)ashtonwoodshomes(dot)com> writes:
> I have a very large query which needs to be very large, and it gives me this
> error sometimes:
> "Error","7175","06/23/03","23:52:52",,"ODBC Error Code = 08S01
> (Communication link failure)<P> Error while executing the query; Out of
> memory while reading tuples.

I'd say your problem is on the client side, and that you're wasting your
time fooling with server-side configuration. Consider converting the
query to use a cursor, so that you can fetch a reasonably small number of
rows at a time.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Reuven M. Lerner 2003-06-25 21:13:49 Re: Many Pl/PgSQL parameters -> AllocSetAlloc(128)?
Previous Message terry 2003-06-25 20:49:31 Error message, which memory param should I increase?