Using this minimal test script on a Pi 4, 4GB results in a segmentation fault after just over 1670000 display updates- or around 18-20 minutes of runtime.
Further testing, including the elimination of the PIL image by hard-coding the ST7735 library to send only zero bytes in lieu of actual image data, reveals that the issue appears to be with the use of spidev.
A possible fix may be to use xfer3 to split chunks, and additionally update to spidev==3.4
Using this minimal test script on a Pi 4, 4GB results in a segmentation fault after just over 1670000 display updates- or around 18-20 minutes of runtime.
Further testing, including the elimination of the PIL image by hard-coding the ST7735 library to send only zero bytes in lieu of actual image data, reveals that the issue appears to be with the use of spidev.
A possible fix may be to use
xfer3
to split chunks, and additionally update tospidev==3.4