I've been looking through the memory management system today.
When a request is made for a memory memory chunk larger than
ALLOC_CHUNK_LIMIT, AllocSetAlloc() uses malloc() to give the request its
own block. The result is tested by AllocSetAlloc() to see if the memory
Irrespective of this, a chunk can be returned which has not had memory
allocated to it. There is no testing of the return status of
palloc() through out the code.
Was/has this been addressed?
pgsql-hackers by date
|Next:||From: Vadim Mikheev||Date: 2001-03-08 12:24:23|
|Subject: Re: Proposed WAL changes|
|Previous:||From: Sergio Pili||Date: 2001-03-08 11:14:38|
|Subject: Deactivate Rules|