Hi, When I ran a backup script I got this message from the db (7.4.7) Do you have idea what is this? And why said Out of memory? There is 16Gb memory (physical) shared_buffers = 300000 sort_mem = 1024000 vacuum_mem = 128000 max_fsm_pages = 40000 max_fsm_relations = 2000 effective_cache_size = 153600 Which settings are wrong? Thanks Szabek TopMemoryContext: 53784 total in 5 blocks; 11976 free (47 chunks); 41808 used SPI Plan: 1024 total in 1 blocks; 352 free (0 chunks); 672 used SPI Plan: 39936 total in 7 blocks; 6520 free (0 chunks); 33416 used SPI Plan: 7168 total in 3 blocks; 1464 free (0 chunks); 5704 used SPI Plan: 3072 total in 2 blocks; 64 free (0 chunks); 3008 used SPI Plan: 7168 total in 3 blocks; 3880 free (0 chunks); 3288 used SPI Plan: 7168 total in 3 blocks; 3384 free (0 chunks); 3784 used SPI Plan: 7168 total in 3 blocks; 2632 free (0 chunks); 4536 used SPI Plan: 7168 total in 3 blocks; 3384 free (0 chunks); 3784 used SPI Plan: 3072 total in 2 blocks; 1888 free (0 chunks); 1184 used SPI Plan: 7168 total in 3 blocks; 3008 free (0 chunks); 4160 used SPI Plan: 3072 total in 2 blocks; 872 free (0 chunks); 2200 used TopTransactionContext: 57344 total in 3 blocks; 25176 free (4 chunks); 32168 used ExecutorState: 8192 total in 1 blocks; 7656 free (2 chunks); 536 used SPI Exec: 645914648 total in 83 blocks; 8370416 free (19 chunks); 637544232 used ExecutorState: 8192 total in 1 blocks; 7944 free (0 chunks); 248 used ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used SPI Proc: 37208 total in 3 blocks; 21544 free (18 chunks); 15664 used DeferredTriggerXact: 0 total in 0 blocks; 0 free (0 chunks); 0 used MessageContext: 8192 total in 1 blocks; 6304 free (8 chunks); 1888 used PortalMemory: 8192 total in 1 blocks; 8040 free (0 chunks); 152 used PortalHeapMemory: 1024 total in 1 blocks; 912 free (0 chunks); 112 used ExecutorState: 8192 total in 1 blocks; 7016 free (6 chunks); 1176 used ExprContext: 8192 total in 1 blocks; 8176 free (11 chunks); 16 used CacheMemoryContext: 516096 total in 6 blocks; 105184 free (549 chunks); 410912 used trs_idx: 2048 total in 1 blocks; 768 free (0 chunks); 1280 used trs_idx: 2048 total in 1 blocks; 768 free (0 chunks); 1280 used pg_opclass_oid_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_opclass_am_name_nsp_index: 2048 total in 1 blocks; 768 free (0 chunks); 1280 used pg_attribute_relid_attnam_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 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_type_typname_nsp_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_statistic_relid_att_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used mcb_pkey: 1024 total in 1 blocks; 320 free (0 chunks); 704 used mcb_4_mcb_ind: 1024 total in 1 blocks; 320 free (0 chunks); 704 used mcb_lge_id_mcb_index: 1024 total in 1 blocks; 640 free (0 chunks); 384 used mcb_plnumber_mcb_in: 1024 total in 1 blocks; 640 free (0 chunks); 384 used mcb_mtt_id_mcb_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_proc_oid_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_attrdef_adrelid_adnum_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_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_toast_1249557729_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used pg_toast_1249557729_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used pg_toast_1248543184_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used pg_toast_1248543184_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used pg_amop_opc_strategy_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 used pg_class_relname_nsp_index: 1024 total in 1 blocks; 320 free (0 chunks); 704 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_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; 5904 free (0 chunks); 2288 used DynaHash: 8192 total in 1 blocks; 6912 free (0 chunks); 1280 used DynaHashTable: 8192 total in 1 blocks; 5080 free (0 chunks); 3112 used DynaHashTable: 24576 total in 2 blocks; 14280 free (6 chunks); 10296 used DynaHashTable: 8192 total in 1 blocks; 2008 free (0 chunks); 6184 used DynaHashTable: 8192 total in 1 blocks; 952 free (0 chunks); 7240 used DynaHashTable: 8192 total in 1 blocks; 3000 free (0 chunks); 5192 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 (3 chunks); 16 used 2006-07-10 14:03:24 [27769] ERROR: out of memory DETAIL: Failed on request of size 67108864. CONTEXT: PL/pgSQL function "backup_create" line 60 at SQL statement