HA suddenly stop works with 5 cameras installed

hello friends.

I am running HA in RP3plus 32GB sd card.

I have 5 generic cameras installed in my Lovelace.

the HA stops suddenly with no reasons lastly and I can’t access it anymore.

do you think its because of the cameras? if yes what should I fix to use the 5 cameras with HS safely?

do you think using RP4 4gb with 64SSD is a good idea?

I am using it in the cabinet so I need the size to be small as much as I can.

thank you very much for your help in advance