dbTalk Databases Forums  

Re: [BUGS] Out of memory error causes Abort, Abort tries to allocate memory

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] Out of memory error causes Abort, Abort tries to allocate memory in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Out of memory error causes Abort, Abort tries to allocate memory - 10-26-2006 , 12:04 AM






Alvaro Herrera <alvherre (AT) commandprompt (DOT) com> writes:
Quote:
Jeff Davis wrote:
* smgrGetPendingDeletes() calls palloc()
* palloc() fails, resulting in ERROR, causing infinite recursion

Hmm, maybe we could have AbortTransaction switch to ErrorContext, which
has some preallocated space, before calling RecordTransactionAbort (or
maybe have RecordTransactionAbort itself do it).
Seems like it'd be smarter to try to free some memory before we push
forward with transaction abort. ErrorContext has only a limited amount
of space ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.