Is the most likely reason for my ramps 1.4 rebooting mid-print a lack of

Is the most likely reason for my ramps 1.4 rebooting mid-print a lack of power?

I have a usb desk fan pointing right at it too cool the capacitors and anything else that might get hot, but perhaps that is not enough and it is a thermal thing.

The Octoprint logs just say contact was lost - I am not sure where to look for diagnostic info.

It could be usb issues. Like usb sleep, bad usb cable or port, or even a bad board (say, poor quality xtals).

It can also be a bad voltage regulator or power supply, or even a bad capacitor.

I had a burnt out terminal on the power supply cause resets during bed heating and during prints, was specific to the amount of heat I was asking of the heatbed. Stephanie has the more complete list going, but thought I would throw in that specific cause I experienced with an LED type PSU. Ground terminal overheated from bad crimp. Probably not your exact issue but worth checking. They might look ok at first but look for any difference in the color or reflectivity of the screw caps and the conducting elements, if you see anything even remotely different unscrew that screw and check the terminal more carefully. I missed my terminal overheating the first check of the PSU as the screw was not very tarnished and it allowed the issue to get a bit worse, wires burnt up!

@AlohaMilton Yep, I am using an LED type power unit, and it does seem to be related to the heated bed (in that it didn’t happen before I had the bed). I heat the bed to 60c and it doesn’t tend to happen until an hour in I’d say.