Logstash stuck on "Will Retry with exponential backoff"


We use ELK 7.5.1 version
It seems that logstash stucks on trying to make bulk requests to elastic when document size exceeded http.max_content_length:
[ERROR][logstash.outputs.elasticsearch][index_name] Encountered a retryable error. Will Retry with exponential backoff {:code=>413, :url=>""}

and keeps trying until it fails with out of memory:
[ERROR][org.logstash.Logstash ] java.lang.OutOfMemoryError: Java heap space

Is there limit for such retries?

From plugin manual it is unclear what about retries for 413 errors:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.