Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A08EA989B4D for ; Wed, 11 Jan 2012 11:17:34 -0400 (AST) Received: from exprod7og102.obsmtp.com ([64.18.2.157]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rkzve-0004KC-Kv for pgsql-bugs@postgresql.org; Wed, 11 Jan 2012 15:17:33 +0000 Received: from mail-ey0-f182.google.com ([209.85.215.182]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKTw2n/PNg/xdrBcxx6NbyMQEgzVzRywpJ@postini.com; Wed, 11 Jan 2012 07:17:30 PST Received: by eaak12 with SMTP id k12so323196eaa.27 for ; Wed, 11 Jan 2012 07:17:15 -0800 (PST) Received: by 10.213.17.145 with SMTP id s17mr4915314eba.147.1326295034925; Wed, 11 Jan 2012 07:17:14 -0800 (PST) Received: from [192.168.1.100] (dsl-hkibrasgw2-ff6cc300-200.dhcp.inet.fi. [88.195.108.200]) by mx.google.com with ESMTPS id y12sm6749454eeb.11.2012.01.11.07.17.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jan 2012 07:17:13 -0800 (PST) Message-ID: <4F0DA7F8.8040002@enterprisedb.com> Date: Wed, 11 Jan 2012 17:17:12 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 MIME-Version: 1.0 To: vic@nix.kh.ua CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6392: leak memory while restore/load dump References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/79 X-Sequence-Number: 32146 On 11.01.2012 02:24, vic@nix.kh.ua wrote: > The following bug has been logged on the website: > > Bug reference: 6392 > Logged by: Vic > Email address: vic@nix.kh.ua > PostgreSQL version: 9.0.6 > Operating system: FreeBSD/Linux > Description: > > While trying load database dump, postgresql (server process) eat up all > memory, including swap. > > This problem start after update on 9.0.6 and same problem with 9.1.2. > > PostgreSQL version 9.0.5 load same dump without problem. You probably have an inet field in the database. 9.0.6/9.1.2 contained a bug causing a memory leak in inet/cidr functions. See: http://archives.postgresql.org/pgsql-committers/2011-12/msg00086.php http://archives.postgresql.org/pgsql-bugs/2011-12/msg00068.php This will be fixed in 9.0.7/9.1.3. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com