Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faZ2D-00022J-7S for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 04:04:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1faZ2A-0008JB-7w for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 04:04:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faZ29-0008J3-TC for pgsql-general@lists.postgresql.org; Wed, 04 Jul 2018 04:04:50 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faZ25-0003QL-ME for pgsql-general@postgresql.org; Wed, 04 Jul 2018 04:04:48 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8A7DD21D03; Wed, 4 Jul 2018 00:04:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 04 Jul 2018 00:04:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=eqJFF0ug4UMj2e/p2Pblcvj1Kkl0R UtE+xQhtmGIv6Y=; b=yXyZf/PsGsG39yJyts54ttahBnJQ7V7oHSB3iQ8f3Z/JT T8cXgpe6HcTphETGtjRYxEwj8NOuGZzdG9Z18+kHS/kYNvuKyz38S35FOxGeg5e8 0Qb78hHRYHp9RNXCLPF/u6U8Ca9JGkJEKoGzihb6qHgPEPfFr55pSVUv/MJiCVsG WNYZr1XAJALZ5UDadQTcXF3J5JywlFL5otIwwFklkI70HDF5I5kp02y70gsoHcDf v09QNYMb3aHCBVvjLcElkyhSHeaRIKUFeXeA3vjtFsYecnMOPfcK7kzy7KX0Ofd8 sOJKj1WQUo3varx0IgSK+xYlC5VVNf3QgzQgfzfBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=eqJFF0 ug4UMj2e/p2Pblcvj1Kkl0RUtE+xQhtmGIv6Y=; b=aRiuORZkpH/thUUF/R7SoT K5QbHHwCPHG8cVXzLwcgBG249yV91CrR3qoljS5mkq3p8+C+v1lAOIl//XAOB4Cw jUROZMgLztd9p91MykjdGln7MtCwXE9AFGhcZBuuTa6gwHPLCbqqLNrUvmDTYOSb iPwlc6Nobwi1RqmANVb0skI4rqV6kK+j4ENQa7bGM4o5Xfs3E2o/gHZo08YLIqcV VpQwXdumghiMYeYnNtgajn/FBtQeIKX8N4ILgW9tXB1HzUrjN9zi2dpiZxkiYiFq 8CyyvsLhX0RJvtgFWukqWLWCnCKwqpX81tUd+XdMOIFZtksif51UT/ckTZuSLPPA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id BA47C1025C; Wed, 4 Jul 2018 00:04:43 -0400 (EDT) Subject: Re: pg_dump out of memory To: Andy Colson , pgsql References: <1aaeedd9-5c96-f1f2-e6e2-5d314b409565@aklaver.com> <6aee668e-233f-756f-8502-19c5dba13c28@squeakycode.net> From: Adrian Klaver Message-ID: Date: Tue, 3 Jul 2018 21:04:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <6aee668e-233f-756f-8502-19c5dba13c28@squeakycode.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/03/2018 08:28 PM, Andy Colson wrote: > On 07/03/2018 10:21 PM, Adrian Klaver wrote: >> On 07/03/2018 07:43 PM, Andy Colson wrote: >>> Hi All, >>> >>> I moved a physical box to a VM, and set its memory to 1Gig.  Everything >>> runs fine except one backup: >>> >>> >>> /pub/backup# pg_dump -Fc -U postgres -f wildfire.backup wildfirep >>> >>> g_dump: Dumping the contents of table "ofrrds" failed: PQgetResult() >>> failed. >>> pg_dump: Error message from server: ERROR:  out of memory >>> DETAIL:  Failed on request of size 1073741823. >>> pg_dump: The command was: COPY public.ofrrds (id, updateddate, bytes) TO >>> stdout; >>> >>> >>> >>> I'm not sure how to get this backup to run.  Any hints would be >>> appreciated. >> >> Maybe: >> >> 1) Try: >>      pg_dump -t ofrrds >>     to dump only that table. >> > > It didnt work.  I get the same error. Well all I can think of is to give the VM more memory. > > Also, I'm running Slackware 14.2, and PG 9.5.11 > > -Andy > > > -- Adrian Klaver adrian.klaver@aklaver.com