The hardware is fine. How it’s being used in this case is the problem. As the server owner, it is your responsibility to understand the limits of the hardware (which we freely and frequently instruct throughout these forums) and curate the media appropriately.
Synology is well known for using weak processors. It has been stated countless times. It is for this fundamental reason, QNAP is so popular. They build products with the same J3455 CPU through the i7-7700 CPU. Synology’s best processor is the J3455.