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 1g4sAM-00066v-VJ for pgsql-general@arkaria.postgresql.org; Tue, 25 Sep 2018 18:34:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g4sAK-00053X-3g for pgsql-general@arkaria.postgresql.org; Tue, 25 Sep 2018 18:34:32 +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 1g4sAJ-00053M-Rh for pgsql-general@lists.postgresql.org; Tue, 25 Sep 2018 18:34:31 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g4sAA-0001ji-Fj for pgsql-general@postgresql.org; Tue, 25 Sep 2018 18:34:31 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 94572F5A9FB9 for ; Tue, 25 Sep 2018 11:34:19 -0700 (MST) Date: Tue, 25 Sep 2018 11:34:19 -0700 (MST) From: greigwise To: pgsql-general@postgresql.org Message-ID: <1537900459605-0.post@n3.nabble.com> In-Reply-To: <1537536021272-0.post@n3.nabble.com> References: <1537481492525-0.post@n3.nabble.com> <16504.1537483871@sss.pgh.pa.us> <1537536021272-0.post@n3.nabble.com> Subject: Re: Out of Memory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Well, I've been unsuccessful so far on creating a standalone test. I have put some scripting in place to capture some additional information on the server with the out of memory issues. I have a script which just periodically dumps the output of free -m to a text file. So, the output of free -m immediately before and after the out of memory error looks like this: Just before: total used free shared buff/cache available Mem: 14877 2978 132 3553 11766 7943 Swap: 0 0 0 Just after: total used free shared buff/cache available Mem: 14877 2946 649 3548 11280 7982 Swap: 0 0 0 If I have nearly 8 GB of memory left, why am I getting out of memory errors? Thanks, Greig -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html