Ok, memory is enough available. That will not be the problem. If I understand you correctly all you have send is G28 Y0 to home y axis. the question now is if the homing did finish and the error happens afterwards or if it is part of the homing process.
Run
G28 Y0
M400
M119
as a script so all gets send at once.(right click in manual control to edit them)
M119 will report end stops after homing is finished. So if you see it never because you reseted the printer it is part of homing, if you see it after the move to front finishes it is something happening later.
Depending on your homing order it is possible that it moves after homing to a home position. These are the one with preheat. Maybe that is the case here. These settings are not shown in screenshot.