From: Stephan Knauss <pgsql@stephans-server.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: memory consumption of memory for postgres db container
Date: Fri, 3 Sep 2021 08:52:57 +0200
Message-ID: <e48be757-f641-63d2-44be-54552ff97ec8@stephans-server.de> (raw)
In-Reply-To: <AM8PR07MB82299B9764086E356D93243BAECE9@AM8PR07MB8229.eurprd07.prod.outlook.com>
References: <AM8PR07MB82299B9764086E356D93243BAECE9@AM8PR07MB8229.eurprd07.prod.outlook.com>
On 02.09.2021 16:35, M Tarkeshwar Rao wrote:
>
> We did a stability test for our product, where we continuously
> inserting data into postgres tables. We did this for three days
> continuously.
>
> Memory utilization of our Postgres container continuously increasing.
>
I am not certain whether it is related, but you might want to check. I
had a similar issue where the anonymous memory was sort of leaking with
a rate of 2 GiB per hour.
it was resolved by doing a "set jit=off". You can see the full thread
including some hints on how to check where memory is allocated here:
https://www.postgresql.org/message-id/flat/9f73e655-14b8-feaf-bd66-c0f506224b9e%40stephans-server.de
Stephan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: pgsql@stephans-server.de
Subject: Re: memory consumption of memory for postgres db container
In-Reply-To: <e48be757-f641-63d2-44be-54552ff97ec8@stephans-server.de>
References: <AM8PR07MB82299B9764086E356D93243BAECE9@AM8PR07MB8229.eurprd07.prod.outlook.com> <e48be757-f641-63d2-44be-54552ff97ec8@stephans-server.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox