Re: Postgresql JDBC process consumes more memory with partition tables update delete

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: "James Pang (chaolpan)" <chaolpan(at)cisco(dot)com>
Cc: "pgsql-jdbc(at)lists(dot)postgresql(dot)org" <pgsql-jdbc(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgresql JDBC process consumes more memory with partition tables update delete
Date: 2022-09-08 07:05:14
Message-ID: CAB=Je-HuM6t=8kiVCnqAisk3PfO9y7HmKWpzjCyDZWMXaeA5vg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-performance

> > Yesterday, when workload test, a lot of Postgresql JDBC connections
> > use 150-160MB memory , so we got ERROR: out of memory

Would you please share a reproducer? (e.g. DDL for the table, test code)

Have you tried capturing memory context information for the backend that
consumes memory?
https://wiki.postgresql.org/wiki/Developer_FAQ#Examining_backend_memory_use

Vladimir

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message James Pang (chaolpan) 2022-09-08 08:24:03 RE: Postgresql JDBC process consumes more memory with partition tables update delete
Previous Message James Pang (chaolpan) 2022-09-08 06:17:39 RE: Postgresql JDBC process consumes more memory with partition tables update delete

Browse pgsql-performance by date

  From Date Subject
Next Message James Pang (chaolpan) 2022-09-08 08:24:03 RE: Postgresql JDBC process consumes more memory with partition tables update delete
Previous Message James Pang (chaolpan) 2022-09-08 06:17:39 RE: Postgresql JDBC process consumes more memory with partition tables update delete