Implement --slave-parallel-max-queue to limit memory usage of SQL thread read-ahead in the relay log.
Attach a file by drag & drop or click to upload