Re: Invalid memory alloc

Поиск
Список
Период
Сортировка
От Edson Richter
Тема Re: Invalid memory alloc
Дата
Msg-id BLU436-SMTP52B2F97702AF99A08F4CFECFED0@phx.gbl
обсуждение исходный текст
Ответ на Invalid memory alloc  (Marc-André Goderre <magoderre@cgq.qc.ca>)
Ответы Re: Invalid memory alloc  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Re: Invalid memory alloc  (Marc-André Goderre <magoderre@cgq.qc.ca>)
Re: Invalid memory alloc  (Marc-André Goderre <magoderre@cgq.qc.ca>)
Список pgsql-general
On 23-04-2015 16:55, Marc-André Goderre wrote:
> 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
>
>
My question would sound stupid... you have 10Gb shared buffer, but how
much physical memory on this server?
How have you configured the kernel swappines, overcommit_memoryt,
overcommit_ratio?
Have you set anything different in shmmax or shmall?

Edson


В списке pgsql-general по дате отправления:

Предыдущее
От: Marc-André Goderre
Дата:
Сообщение: Invalid memory alloc
Следующее
От: Chris Mair
Дата:
Сообщение: Re: Invalid memory alloc