Hi,
i’m right now on a RPI4 4GB, next to me a virgin 8GB Raspi.
If someone has experience, is it worth to swap the two SBC boards…some youtube videos i’ve seen could not show any performance improvements in comparision to pi4 4gb. Only i could think of OH which is java-based and in general more resource hungry.
No, it doesn’t matter if it’s 4 GB or 8 GB, but you need to use the 64 Bit Mode for 8 GB, and that’s a bit tricky. There is no reason to use the 8 GB version for openHAB.
Of course you could use docker to use the Raspberry for more than just openHAB, but this also is not recommended.
An easy way to tell is to run htop or your resource monitor of choice. Look at the RAM readings. If you are using swap or running out of available RAM then you would benefit from more RAM. If not then more RAM isn’t going to change anything. Even though OH is Java, given all that it does it’s really quite easy on the RAM requirements once you get above the 1 GB RPi 2s and 3s have.
I know this is an old topic but are there any updates on this? Because I’m thinking about getting a new Pi.
There are only two programs running on my Pi now - OpenHab and OpenV.
Is it safe to use 32bit version with 8gb pi model?
I have an additional data point if you’re interested.
I am not using an rpi but instead an old laptop that happens to have 16GB of memory. I assigned 8GB to the jvm using -Xmx8G because the device isn’t running anything apart from zigbee2mqtt and openhab and this is how the JVM uses heap memory:
So not a lot to gain by splurging on additional memory.