-
Bug
-
Resolution: Unresolved
-
Major
-
3.1.2.Final
-
None
-
False
-
-
False
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
v3.1.2.Final
What is the connector configuration?
What is the captured database version and mode of deployment?
PostgreSQL 15.13
cloud managed services
What behavior do you expect?
My expectation is that Debezium Server runs normally and does not enter a restart loop when encountering errors
What behavior do you see?
Jul 14 05:44:48 db-ex bash[3983619]: 2025-07-14 05:44:48,757 INFO [io.deb.emb.asy.RetryingCallable] (pool-8-thread-1) Failed with retriable exception, will retry later; attempt #11787 out of infinity: org.apache.kafka.connect.errors.RetriableException: An exception occurred in the change event producer. This connector will be restarted.
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:63)
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:190)
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:42)
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:322)
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:203)
Jul 14 05:44:48 db-ex bash[3983619]: at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:143)
Jul 14 05:44:48 db-ex bash[3983619]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
Jul 14 05:44:48 db-ex bash[3983619]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
Jul 14 05:44:48 db-ex bash[3983619]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
Jul 14 05:44:48 db-ex bash[3983619]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
Jul 14 05:44:48 db-ex bash[3983619]: at java.base/java.lang.Thread.run(Thread.java:1583)
Jul 14 05:44:48 db-ex bash[3983619]: Caused by: org.postgresql.util.PSQLException: ERROR: invalid memory alloc request size 1562744496
Do you see the same behaviour using the latest released Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
<Your answer>
Do you have the connector logs, ideally from start till finish?
I am not sure, as Debezium started up normally at first, but during operation an ‘invalid memory alloc’ error was encountered.
How to reproduce the issue using our tutorial deployment?
<Your answer>
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>