[SOLVED] Pi 3 B+ Crashing when memory full on Lubuntu

Nov 13, 2019
3
0
10
Hi all

I am having a lot of problems with the Pi 3B+ crashing. I believe it occurs when the memory is full, but it's hard to tell due to it crashing irrecovably. I have ruled out the following:
Temprature (had a logging script writing temps, it has crashed as low as 45 degrees)
Power Supply (tried the pi charger from the box, still occurs)

When it crashes, the I/O light is stuck green. It does not recover itself with time, even when left for an hour or more. Even the mouse cursor is completely frozen in place.

The SD card being used is only 8gb, which is something that made me think perhaps there is a problem with the swapfile/pagefile or something?

If anyone has any other suggestions, please give advice :)

If not, is there a way that I can at least automatically restart the pi under these circumstances?