pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Greg Stark <stark@mit.edu>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Date: Mon, 2 Mar 2015 16:34:57 -0300
Message-ID: <20150302193457.GE3291@alvh.no-ip.org> (raw)
In-Reply-To: <CAM-w4HO0cDSOndSG=SEsHJRqx2TSE+qesLCvM=Q3Xexn_9WJ=w@mail.gmail.com>
References: <20150227195529.GS29780@tamriel.snowman.net>
	<12545.1425072391@sss.pgh.pa.us>
	<CAFj8pRBctY5wDOfQB+anSd-EkqJV4usJMLiiMk2GXZeeOAWMdw@mail.gmail.com>
	<20150228004101.GV29780@tamriel.snowman.net>
	<CAJrrPGedf9TrbCYS7QXtLrFSWp79k6La06z7J_V9r1B_SnWKzg@mail.gmail.com>
	<CAM-w4HOFSCLk_erqxLOjbu9dv3vGcuC5RuCOi5C0y-GKL+j8_w@mail.gmail.com>
	<20150302133417.GL29780@tamriel.snowman.net>
	<CAM-w4HOKJcafjUafhVJKYVLdmhuE=tSMz9adpvaB=qV936jsmg@mail.gmail.com>
	<CAM-w4HMod-CiOSCXkMX6hG4MfpjgxXh7d2jFjC_S2M2MSzkTTQ@mail.gmail.com>
	<CAM-w4HO0cDSOndSG=SEsHJRqx2TSE+qesLCvM=Q3Xexn_9WJ=w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Greg Stark wrote:

> Hm. I'm wondering why I'm getting out of memory errors now with just
> 25k lines in pg_hba.conf. It looks like the HbaLine struct is "only"
> 472 bytes so the list should only be occupying about 11MB. In fact
> it's occupying about a gigabyte:

Maybe it's leaking heavily while parsing ...

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (92+ messages)  latest in thread

Message-ID: <20150302193457.GE3291@alvh.no-ip.org>
Permalink:  ../20150302193457.GE3291@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150302193457.GE3291@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, stark@mit.edu, sfrost@snowman.net, kommi.haribabu@gmail.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com
  Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
  In-Reply-To: <20150302193457.GE3291@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox