Hello Swahela Mulla,
Thanks for reaching out!
As per the documentation, the property 'physicalMemoryInBytes' return default value 0 in LIST managedDevices. Real value only returned in single device- GET call with device id and included in select parameter.
You can also refer this similar post.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.