Re: Providing catalog view to pg_hba.conf file - Patch submission - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Providing catalog view to pg_hba.conf file - Patch submission
Date
Msg-id 20150302193457.GE3291@alvh.no-ip.org
Whole thread Raw
In response to Re: Providing catalog view to pg_hba.conf file - Patch submission  (Greg Stark <stark@mit.edu>)
List pgsql-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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: add modulo (%) operator to pgbench
Next
From: Stephen Frost
Date:
Subject: Re: Additional role attributes && superuser review