Re: Out of memory error

Поиск
Список
Период
Сортировка
От Clodoaldo Pinto
Тема Re: Out of memory error
Дата
Msg-id a595de7a05020803314d2c0de9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Out of memory error  (Clodoaldo Pinto <clodoaldo.pinto@gmail.com>)
Ответы Re: Out of memory error  (Clodoaldo Pinto <clodoaldo.pinto@gmail.com>)
Список pgsql-general
On Tue, 8 Feb 2005 09:06:38 -0200, Clodoaldo Pinto
<clodoaldo.pinto@gmail.com> wrote:
> I did:
> # /sbin/sysctl -w vm.overcommit_memory=2
> following
> http://www.postgresql.org/docs/7.4/static/kernel-resources.html#AEN17068
>
> And got the same error:
>
> ERROR:  out of memory
> DETAIL:  Failed on request of size 44.
> CONTEXT:  PL/pgSQL function "group_dup" line 9 at SQL statement
>
> The difference now is that the process was killed before overcommiting.
>
> Regards, Clodoaldo Pinto
>

This is the log file content:

TopMemoryContext: 32768 total in 3 blocks; 3720 free (1 chunks); 29048 used
TopTransactionContext: 8192 total in 1 blocks; 2432 free (0 chunks); 5760 used
SPI Exec: 8192 total in 1 blocks; 8064 free (0 chunks); 128 used
ExecutorState: 8192 total in 1 blocks; 5352 free (1 chunks); 2840 used
ExecutorState: 35643416 total in 14 blocks; 3999744 free (16 chunks);
31643672 used
ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used
ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used
AggContext: 8192 total in 1 blocks; 8128 free (1 chunks); 64 used
ExprContext: 8192 total in 1 blocks; 8128 free (0 chunks); 64 used
ExprContext: 8192 total in 1 blocks; 8176 free (0 chunks); 16 used
ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used
SPI Proc: 8192 total in 1 blocks; 7736 free (0 chunks); 456 used
SPI TupTable: 8192 total in 1 blocks; 7024 free (0 chunks); 1168 used
SPI TupTable: 8192 total in 1 blocks; 3832 free (0 chunks); 4360 used
DeferredTriggerXact: 1796202496 total in 224 blocks; 3752 free (10
chunks); 1796198744 used
SPI Plan: 7168 total in 3 blocks; 32 free (0 chunks); 7136 used
SPI Plan: 3072 total in 2 blocks; 1280 free (0 chunks); 1792 used
SPI Plan: 1024 total in 1 blocks; 672 free (0 chunks); 352 used
MessageContext: 8192 total in 1 blocks; 6696 free (1 chunks); 1496 used
PortalMemory: 8192 total in 1 blocks; 7904 free (0 chunks); 288 used
PortalHeapMemory: 3072 total in 2 blocks; 1272 free (0 chunks); 1800 used
ExecutorState: 8192 total in 1 blocks; 6440 free (1 chunks); 1752 used
ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used
Unique: 0 total in 0 blocks; 0 free (0 chunks); 0 used
PortalHeapMemory: 1024 total in 1 blocks; 912 free (0 chunks); 112 used
ExecutorState: 8192 total in 1 blocks; 7064 free (1 chunks); 1128 used
ExprContext: 8192 total in 1 blocks; 8176 free (4 chunks); 16 used
CacheMemoryContext: 516096 total in 6 blocks; 130408 free (19 chunks);
385688 used
ndx_usuarios_data: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_description_o_c_o_index: 2048 total in 1 blocks; 768 free (0
chunks); 1280 used
pg_depend_depender_index: 2048 total in 1 blocks; 768 free (0 chunks); 1280 used
pg_depend_reference_index: 2048 total in 1 blocks; 768 free (0
chunks); 1280 used
pg_database_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_database_datname_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_index_indrelid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_amop_opc_strategy_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_shadow_usename_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_amop_opr_opc_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used
pg_conversion_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_language_name_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_statistic_relid_att_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_attribute_relid_attnam_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_shadow_usesysid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_cast_source_target_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_conversion_name_nsp_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_trigger_tgrelid_tgname_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_namespace_nspname_index: 1024 total in 1 blocks; 640 free (0
chunks); 384 used
pg_conversion_default_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_class_relname_nsp_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_aggregate_fnoid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_inherits_relid_seqno_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_language_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_type_typname_nsp_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used
pg_group_sysid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_namespace_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_proc_proname_args_nsp_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_opclass_am_name_nsp_index: 2048 total in 1 blocks; 768 free (0
chunks); 1280 used
pg_group_name_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_proc_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_operator_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_amproc_opc_procnum_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_index_indexrelid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_operator_oprname_l_r_n_index: 2048 total in 1 blocks; 704 free (0
chunks); 1344 used
pg_opclass_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_rewrite_rel_rulename_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_type_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
pg_attribute_relid_attnum_index: 1024 total in 1 blocks; 320 free (0
chunks); 704 used
pg_class_oid_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used
MdSmgr: 8192 total in 1 blocks; 6072 free (0 chunks); 2120 used
DynaHash: 8192 total in 1 blocks; 6760 free (0 chunks); 1432 used
DynaHashTable: 8192 total in 1 blocks; 2008 free (0 chunks); 6184 used
DynaHashTable: 24576 total in 2 blocks; 14280 free (6 chunks); 10296 used
DynaHashTable: 8192 total in 1 blocks; 5080 free (0 chunks); 3112 used
DynaHashTable: 8192 total in 1 blocks; 2008 free (0 chunks); 6184 used
DynaHashTable: 8192 total in 1 blocks; 1984 free (0 chunks); 6208 used
DynaHashTable: 8192 total in 1 blocks; 3520 free (0 chunks); 4672 used
DynaHashTable: 24576 total in 2 blocks; 13240 free (4 chunks); 11336 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
DynaHashTable: 0 total in 0 blocks; 0 free (0 chunks); 0 used
ErrorContext: 8192 total in 1 blocks; 8176 free (0 chunks); 16 used
ERROR:  out of memory
DETAIL:  Failed on request of size 44.
CONTEXT:  PL/pgSQL function "group_dup" line 9 at SQL statement

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

Предыдущее
От: Clodoaldo Pinto
Дата:
Сообщение: Re: Out of memory error
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: indexing just a part of a string