Hi!
Could you please suggest, what could be the reason for the error when calling the function? We get an error.
invalid memory alloc request size 1868601608 +
while executing query on dblink connection named ""server_connection"" +
PL/pgSQL function collect_pg_stat_statements_stats(jsonb,integer,integer,integer) line 643 at FOR over SELECT rows +
SQL statement ""SELECT collect_pg_stat_statements_stats(server_properties, sserver_id, s_id, topn)"" +
PL/pgSQL function take_sample(integer,boolean) line 596 at PERFORM +
PL/pgSQL function take_sample_subset(integer,integer) line 27 at assignment +
SQL function ""take_sample"" statement 1 +
Failed on request of size 1868601608 in memory context ""ExprContext"": exceeded limits on size of allocations (1073741823)
Version pg_profile 4.2.b.
Hi!
Could you please suggest, what could be the reason for the error when calling the function? We get an error.
invalid memory alloc request size 1868601608 +
while executing query on dblink connection named ""server_connection"" +
PL/pgSQL function collect_pg_stat_statements_stats(jsonb,integer,integer,integer) line 643 at FOR over SELECT rows +
SQL statement ""SELECT collect_pg_stat_statements_stats(server_properties, sserver_id, s_id, topn)"" +
PL/pgSQL function take_sample(integer,boolean) line 596 at PERFORM +
PL/pgSQL function take_sample_subset(integer,integer) line 27 at assignment +
SQL function ""take_sample"" statement 1 +
Failed on request of size 1868601608 in memory context ""ExprContext"": exceeded limits on size of allocations (1073741823)
Version pg_profile 4.2.b.