Re: Cannot allocate memory for output buffer - Mailing list pgsql-general

From Tom Lane
Subject Re: Cannot allocate memory for output buffer
Date
Msg-id 21941.1259363549@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cannot allocate memory for output buffer  (Peter Erickson <redlamb@redlamb.net>)
List pgsql-general
Peter Erickson <redlamb@redlamb.net> writes:
> Thanks. Out of curiosity, if memory exhaustion was the problem, any idea
> why the task manager would show that I'm only using 1.2GB of the 3GB of
> memory?

Well, it would've failed to allocate the next copy of the string that it
needed ... and I think also we try to keep the output buffer size at a
power of 2, so it might have been asking for 2GB for the output buffer.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: empty string causes planner to avoid index. Makes me sad.
Next
From: Daniel Schuchardt
Date:
Subject: Re: Access a Field / Column of a resultset by Number