Invalid memory alloc - Mailing list pgsql-general

From Marc-André Goderre
Subject Invalid memory alloc
Date
Msg-id D8DAC91BA6256246BA3FF835F6AAA1189943F676@SI-MB01.cegep-chicoutimi.qc.ca
Whole thread Raw
Responses Re: Invalid memory alloc
Re: Invalid memory alloc
List pgsql-general
Hello, I'm processing  a 100Million row table.
I get error message about memory and I'ld like to know what can cause this issue.

...
psql:/home/ubuntu/create_topo.sql:12: NOTICE:  104855000 edges processed
psql:/home/ubuntu/create_topo.sql:12: NOTICE:  104856000 edges processed
psql:/home/ubuntu/create_topo.sql:12: NOTICE:  104857000 edges processed
psql:/home/ubuntu/create_topo.sql:12: NOTICE:  invalid memory alloc request size 1677721600
psql:/home/ubuntu/create_topo.sql:12: NOTICE:  UPDATE public.way_noded SET source = 88374866,target = 88362922 WHERE id
= 142645362 
 pgr_createtopology 
--------------------
 FAIL
(1 row)

The server  has a 10Gb of shared_buffer.
Do you thing this quantity of memory allowed should normaly be enough to process the data?

Thanks
Marc


pgsql-general by date:

Previous
From: billythebomber
Date:
Subject: BDR Across Distributed Nodes
Next
From: Edson Richter
Date:
Subject: Re: Invalid memory alloc