Re: AllocSetAlloc() - Mailing list pgsql-general

From Tom Lane
Subject Re: AllocSetAlloc()
Date
Msg-id 10996.982779399@sss.pgh.pa.us
Whole thread Raw
In response to AllocSetAlloc()  (Antonis Antoniou <a.antoniou@albourne.com>)
List pgsql-general
Karel Zak <zakkr@zf.jcu.cz> writes:
> On Wed, 21 Feb 2001, Tom Lane wrote:
> ERROR:  Memory exhausted in AllocSetAlloc()
>>
>> If it worked in 7.0 and fails now, then that probably means we have a
>> bug to fix.  May we see a complete, reproducible example?
>>

>  This error returns aset.c only if malloc() ruturs NULL. Not is a proble in
> OS/libs?

Not necessarily.  Certainly aset.c thinks it's run out of memory, but why?
It could be some bit of our code computing a ridiculous request size,
for example, or a serious memory leak under the right conditions.
That's why I want to see Antonis' example.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to release SET() in PgSQL?
Next
From: Karel Zak
Date:
Subject: Re: AllocSetAlloc()