I recently bought an android system for an old car, and to my surprise, the RAM installed on it was half of what was advertised !
It is easy to check, here are the commands you need
On linux
Get connected to phone for ADB , then
Screen resolution before upscaling
adb shell wm size
Ram and other features
getprop ro.boot.dramsize
adb shell getprop ro.build.version.sdk
adb shell getprop (Just show Everything)
On windows, you will execute all this differently
adb shell
getprop ro.build.version.sdk
getprop
This also applies to home android TV set top boxes ! I checked