Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: ERROR: invalid memory alloc request size <a_big_number_here>


  • From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
  • To: Matteo Beccati <php(at)beccati(dot)com>
  • Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: ERROR: invalid memory alloc request size <a_big_number_here>
  • Date: Fri, 28 Oct 2005 11:49:13 -0300
  • Message-id: <20051028144913(dot)GC26594(at)surnet(dot)cl>

Matteo Beccati wrote:
> Hi,
> 
> >Should I try Alvaro's second patch that you said not going to work?
> 
> I'll add that this works for me, that's it prevents invalid alloc 
> requests to show.

Yeah, the problem with that patch is that there's another, different
race condition, of much lower probability.  So your original problem is
fixed, but there's still a bug.

-- 
Alvaro Herrera                           Developer, http://www.PostgreSQL.org
"Just treat us the way you want to be treated + some extra allowance
 for ignorance."                                    (Michael Brusser)



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group