Closed pchovelon closed 11 months ago
Hi,
1107200064
is just a bit more than 1GB, which is the highest amount of memory postgres allows in a single allocation. It probably just means that you have a lot of wait events, which lead to this problem.
If you haven't done so already, I would suggest to set pg_wait_sampling.profile_pid
to false globally, as recommended in https://powa.readthedocs.io/en/latest/components/stats_extensions/pg_wait_sampling.html#configuration. If this parameter is set to true, it will greatly increase the amount of data stored by pg_wait_sampling, so disabling it should greatly reduce the amount of memory needed for that query.
Merci beaucoup :smile: :elephant:
De rien :)
I'm closing this issue, feel free to reopen it if the mentioned configuration change isn't enough to fix the problem.
Got this error log in PostgreSQL :
ERROR: XX000: invalid memory alloc request size 1107200064
The query is the following one :
Any idea ?
Thank you :pray: