TopMemoryContext: 171184 total in 13 blocks; 7984 free (6 chunks); 163200 used smgr relation table: 24576 total in 2 blocks; 13920 free (4 chunks); 10656 used TopTransactionContext: 8192 total in 1 blocks; 6432 free (5 chunks); 1760 used TransactionAbortContext: 32768 total in 1 blocks; 32736 free (0 chunks); 32 used Portal hash: 8192 total in 1 blocks; 1680 free (0 chunks); 6512 used PortalMemory: 0 total in 0 blocks; 0 free (0 chunks); 0 used Relcache by OID: 8192 total in 1 blocks; 640 free (0 chunks); 7552 used CacheMemoryContext: 555696 total in 19 blocks; 272 free (3 chunks); 555424 used pg_opfamily_am_name_nsp_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_foreign_table_relid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_type_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_aggregate_fnoid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_constraint_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_rewrite_rel_rulename_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_ts_parser_prsname_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_ts_config_cfgname_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_ts_parser_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_operator_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_namespace_nspname_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_ts_template_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_amop_opr_fam_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_default_acl_role_nsp_obj_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_collation_name_enc_nsp_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_range_rngtypid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_ts_dict_dictname_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_type_typname_nsp_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_opfamily_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_class_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_proc_proname_args_nsp_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_attribute_relid_attnum_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_proc_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_language_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_namespace_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_amproc_fam_proc_index: 3072 total in 2 blocks; 1784 free (2 chunks); 1288 used pg_foreign_server_name_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_attribute_relid_attnam_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_conversion_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_user_mapping_user_server_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_conversion_name_nsp_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_authid_oid_index: 1024 total in 1 blocks; 152 free (0 chunks); 872 used pg_auth_members_member_role_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_tablespace_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_database_datname_index: 1024 total in 1 blocks; 152 free (0 chunks); 872 used pg_auth_members_role_member_index: 1024 total in 1 blocks; 64 free (0 chunks); 960 used pg_database_oid_index: 1024 total in 1 blocks; 200 free (0 chunks); 824 used pg_authid_rolname_index: 1024 total in 1 blocks; 152 free (0 chunks); 872 used MdSmgr: 0 total in 0 blocks; 0 free (0 chunks); 0 used ident parser context: 0 total in 0 blocks; 0 free (0 chunks); 0 used hba parser context: 31744 total in 5 blocks; 3440 free (0 chunks); 28304 used LOCALLOCK hash: 8192 total in 1 blocks; 1680 free (0 chunks); 6512 used Timezones: 83472 total in 2 blocks; 3744 free (0 chunks); 79728 used Postmaster: 24576 total in 2 blocks; 23664 free (307 chunks); 912 used ErrorContext: 8192 total in 1 blocks; 8160 free (5 chunks); 32 used 2014-06-16 11:23:12 IST [1682]: [3-1] db=template1,user=postgres FATAL: out of memory 2014-06-16 11:23:12 IST [1682]: [4-1] db=template1,user=postgres DETAIL: Failed on request of size 304.