LukeSkywalker92 / TeleFrame

TeleFrame - a digital picture frame for telegram
MIT License
92 stars 28 forks source link

High Memory Consumption forces swapping on 512MB Pis #77

Closed NDscham closed 4 years ago

NDscham commented 4 years ago

Hi everyone, I attempted to get this running on a Pi 3A+ which has the same Quadcore CPU as the 3B, but only 512 MByte of RAM. This will result in swapping, flickering and occasional crashes. It might be worth looking into lowering memory demands and also eliminating unnessary processes. I would go as far as of getting rid of the window manager as it is not really needed for this purpose.

What do you think?

Trenar commented 4 years ago

Can you try increasing the swap (see e.g. https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html ) and see if the problem persists?

Trenar commented 4 years ago

image

On my 3A+ I can not see a full swap memory. RAM is quite full, but not fully exploited. But as I said in #75 , I disabled the fkms OpenGL acceleration, which caused a lot of trouble for me.