dbTalk Databases Forums  

Re: [BUGS] vacuumdb: ERROR: invalid memory alloc request size 4294967292

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


Discuss Re: [BUGS] vacuumdb: ERROR: invalid memory alloc request size 4294967292 in the mailing.database.pgsql-bugs forum.



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

Default Re: [BUGS] vacuumdb: ERROR: invalid memory alloc request size 4294967292 - 03-23-2006 , 09:21 AM






Harco de Hilster <Harco.de.Hilster (AT) ATConsultancy (DOT) nl> writes:
Quote:
(gdb) bt
#0 MemoryContextAlloc (context=0x8b3a10, size=4294967292) at mcxt.c:505
#1 0x00000000004e06f9 in lazy_vacuum_rel (onerel=0x2a955ecbd8,
vacstmt=0x8bf390) at vacuumlazy.c:963
What do you have maintenance_work_mem set to? If it's larger than 1Gb
you need to back it off, or apply this patch:
http://archives.postgresql.org/pgsql...3/msg00094.php

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
  #2  
Old   
Harco de Hilster
 
Posts: n/a

Default Re: [BUGS] vacuumdb: ERROR: invalid memory alloc request size 4294967292 - 03-23-2006 , 10:04 AM






That did the trick. Thanks.

Kind regards,

Harco

Tom Lane wrote:

Quote:
Harco de Hilster <Harco.de.Hilster (AT) ATConsultancy (DOT) nl> writes:


(gdb) bt
#0 MemoryContextAlloc (context=0x8b3a10, size=4294967292) at mcxt.c:505
#1 0x00000000004e06f9 in lazy_vacuum_rel (onerel=0x2a955ecbd8,
vacstmt=0x8bf390) at vacuumlazy.c:963



What do you have maintenance_work_mem set to? If it's larger than 1Gb
you need to back it off, or apply this patch:
http://archives.postgresql.org/pgsql...3/msg00094.php

regards, tom lane



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


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.