Device memory
in the settings there is a menu item "storage". In addition to the photo, there is a "media" item. What is media? it takes up a lot of memory on the device. in the icloud settings, the unloading of original photos and videos is enabled. However, the item "media" still takes up a lot of memory.
iPad, iPadOS 13