Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJTVV-0001qk-51 for pgsql-general@arkaria.postgresql.org; Mon, 05 Nov 2018 01:16:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJTVT-00057Q-PB for pgsql-general@arkaria.postgresql.org; Mon, 05 Nov 2018 01:16:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJTVS-00057G-NA for pgsql-general@lists.postgresql.org; Mon, 05 Nov 2018 01:16:43 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJTVP-0008DG-F7 for pgsql-general@postgresql.org; Mon, 05 Nov 2018 01:16:42 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D295521C08; Sun, 4 Nov 2018 20:16:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 04 Nov 2018 20:16:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=B qjMpfDVe95RvM43wmI4s12HwczuzO3Ejjynvjgvtgg=; b=Fi0Oxtq8Hqb2ipUAO QkLtLgVgC2bq5YSJA3NxFdU32gKlQWrmUXknhnTJARiQBp2M3L9TliQ2CGK57OOv 2wkNo6QBdSNC7sSkYYQRPXZdSjiw0xdVTpXsrvdoNudjEHbtApU4Kk9EV+dpv6vD Rw3Vdp9CMDdcVBNMycWuroS3TVSRKLmxtFzO6XbkwymI50AgUD2HMQ+QOIURQyK5 9dogs9fVBMwTT9/2r4hmzraOmvkkzeykhYjW+/SAG7gqNhrnEDvECCe140uM4p2M AsSxgWEBB6tFezPQ1cTfGo6Ct5CfB//fKINLmamVdGVDCWBmSENP9Xet7bqm/LFI HfyhQ== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=BqjMpfDVe95RvM43wmI4s12HwczuzO3Ejjynvjgvt gg=; b=Qq9YUJZIVMagFKkqz84zCp61Q3UVj0odOeeaWE2sArSzMps0IOTmfYcrM EVJibF8ZTEWzktrDwPk0le129SVeyL54nNa/TybDI/ytVgCk9AjaLwiFJ+1J7Yh3 yUbSrXH7mH+z8n3c4fvqyioEkKJs8t+ikG3Uh2sm8m4BAGcBgwVUnTIFO109dUYv IA2wByonaBX1BIt1QYP97+W23BUrJrNP3TRgCRuvnoe9rliBHNgktZLFjJo8nLb8 SkMzpkRPD5+slMqv7RzmEMEy9OiANgqO7L8qZVODT9zX+hIgpwFTVlel9/OO0+y0 l4fbPVfeAMOttpfyS3TlWp0dylo0A== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id A0C6FE48B9; Sun, 4 Nov 2018 20:16:36 -0500 (EST) Subject: Re: Trouble Upgrading Postgres To: Charles Martin , pgsql-general References: <529c7e29-38eb-0b22-379a-f78e638b97bd@aklaver.com> <18968e03-6342-a01e-3423-04642e15390b@aklaver.com> <10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com> From: Adrian Klaver Message-ID: <0a915be8-3ae0-0dab-cfd0-e2138060b5ae@aklaver.com> Date: Sun, 4 Nov 2018 17:16:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: 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 11/4/18 2:55 PM, Charles Martin wrote: > Yep, you called it: > > Nov  2 20:30:45 localhost kernel: Out of memory: Kill process 30438 > (postmaster) score 709 or sacrifice child > Nov  2 20:30:45 localhost kernel: Killed process 30438, UID 26, > (postmaster) total-vm:3068900kB, anon-rss:1695392kB, file-rss:1074692kB > > So it's running out of memory when trying to dump this table. The "old" > server has 4GB of ram, the "new" server 20GB. > In addition to the other suggestions, what is the exact pg_dump command you are using? -- Adrian Klaver adrian.klaver@aklaver.com