Have you checked the power supply? Have you tried the modules one at a time for a few days to see if you can isolate the issue to one of the modules?
If not, I would suggest you to reseat the memory modules first and then boot your system after that. Ensure before reseating memory modules, disconnect the power supply from the computer.
If the issue still persists, then follow the below mentioned steps according to the type of computer you have:
In case of LAPTOP: Reset the BIOS to factory Defaults.
In case of DESKTOP: Reseat the CMOS battery. Ensure before doing that disconnect power supply and all 3rd party peripherals from the computer.
Let me know the results.
Thanks & Regards