I have a Ramps 1.4 (from Makerfarm) and it's worked for well over a year without issue. I've having strange problems lately where it will just reboot in the middle of a print. It happens at random times during the print and may be getting worse.
I used to have the whole printer in a cabinet and figured it was due to heat, now I've cut a hole in the cabinet and have cool air being blown by a fan directly on the ramps board. Didn't seem to make any difference.
I also tried a different power supply.
Before I just start throwing parts at it, any idea if it's the ramps board or the mega that could be causing the issue?