#homeassistant #howto #ideas
How to Increase Ram Size in Home Assistant and get rid of High memory usage.
Invitation Link to join my Exclusive membership:
/ @kian.smarthome
First Method codes:
if [ ! -f /backup/_swap.swap ]; then fallocate -l 2G /backup/_swap.swap &&
mkswap /backup/_swap.swap && chmod 0600 /backup/_swap.swap && swapon
/backup/_swap.swap ; elif [[ ! $(dmesg|grep _swap.swap) = swap\ on ]];
then swapon /backup/_swap.swap; fi
Second Method:
fallocate -l 2G /backup/swap.swap
mkswap /backup/swap.swap
chmod 0600 /backup/swap.swap
swapon /backup/swap.swap
Buy me a Coffee:
https://www.buymeacoffee.com/kian.sma...
#tutorial #smarthome #systemmonitor #monitor_system #homeautomation #automation #iot #wifi #tuya #energysaving #smartdevices #smartgadgets #monitor_homeassistant #high_memory_usage