[SOLVED] Genuine UNO R3 resets every ~10 seconds (random)

Hello, I come to seek the help of the community because my arduino UNO that had already fried it's ATmega328 last month (replaced) starts to show some serious unstability

I left it an entire night running a very heavy sketch (my mini-domotics controler project - with display and RF control through NRF24L01s) to check the script's stability, and now: it resets every now and then, randomly.

First i thought that maybe I went overboard on the whole "being an asshole with my RAM", since display libraries ARE assholes with RAM. But even free of wire and without any code it keeps on resetting randomly .....

I've become very caring of my UNO so I don't get what could've gone wrong?
I tried a few different wall outlet supplies, then a desk computer, two laptops, a macbook air ... Nope still resets, not a power supply issue.

Any hint as to what could be causing this behavior? Thanks in advance.

~ a lost newbie.

edit: re-flashed the bootloader - problem still persists.

pixelsafoison:
running a very heavy sketch

My first guess would be running out of memory. The heap collides with the stack and function returns go off into strange places, often causing an error that resets the processor.

If you have any .print("String constant") calls, try changing them to .print(F("String constant")) to keep your string constants from using up valuable RAM.

Solved my problem thanks (i THINK, because even without code it was doing it but now no longer.. so, good enough for me i guess?)