v.19.16Improvement

Disable Memory Tracker While Converting Exception Stack Trace to String

Disable memory tracker while converting exception stack trace to string. It can prevent the loss of error messages of type Memory limit exceeded on server, which caused the Attempt to read after eof exception on client. #7264 (Nikolai Kochetov)
Disabled memory tracking during exception stack trace conversion to string to improve error message reliability.

Why it matters

This change prevents loss of critical error messages, specifically the Memory limit exceeded errors on the server side, which previously led to misleading Attempt to read after eof exceptions on the client. It ensures users receive accurate and complete error information.

How to use it

This feature is applied internally in the server and does not require user intervention. The fix is included by default after updating to the version containing this patch.