Fastboot: failed flashing (remote: size too large)
Fastboot has an option -S Used to cut large files into small ones. Specific information can be found at man page:
fastboot --help 

So, we can set the size of the crop block to 256MB:
fastboot flash -S 256M system system.img

Source