Ive created a Swap File using chatgpt help, but when I restart system the swap file won’t “start” I try create a batch to turn on the swap by chatgpt suggestion. But no succeed. (no such files) or some other errors
Any way to increase Swap? And working
By the way I know the SD card im using can fail…
Note: I also think on dessolderig the memory chip from RPI and put 2 or 4GB but I can’t found compatible memory on aliexpress to play around
One thing you want to keep in mind is that the Glances Add-On itself can be a CPU and memory hog.
I’ve come to not start it automatically and only turn it on when I really need it.
RPi3B is 32bit.
It can not address 4Gb.
It should handle around 3.2Gb, but that is raw memory. How much is taken to shadow code is hard to say, but there will be some.
Also remember that a swapfile is not always enough.
A swapfile is a place to store stuff, when it is not being worked on in the CPU.
You still need the space in RAM when the CPU needs to work on it and just because you can free up ½Gb, then it might not be good enough for the CPU to use it, because some allocations for data require consequential addresses, which might not be available in a fragmented ram space, due to high swapfile usage.
I can’t help you there.
I would just by a bigger RPi, but for HA I went to a NUC instead, since RPis just makes it too much of a hassle with power supply, case, cooling, SSD, powered USB hubs, RTC and so on.