Dolphin, the GameCube and Wii emulator - Forums
Any way to decrease prefetched textures to RAM? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Any way to decrease prefetched textures to RAM? (/Thread-any-way-to-decrease-prefetched-textures-to-ram)



Any way to decrease prefetched textures to RAM? - Gamerz - 12-25-2015

The HD textures i use right now are 500 MB and prefetching them uses more than 2 GB of RAM. Any way to decrease it? I've lowered the quality and tried it again but Dolphin still prefetching more than 2 GBs of RAM.


RE: Any way to decrease prefetched textures to RAM? - Neui - 12-25-2015

The images are compressed, so they have to be decompressed and thus are larger. I assume that there are 4 bytes per pixel: R, G, B and Alpha. So for a 2048x2048-Texture, we have 2048 • 2048 = 4194304 pixels. 4194304 • 4 = 16777216 bytes for the uncompressed image. Or 16 Megabytes (/1024/1024). For a 4096x4096-Texture, it would be about 64 MB space.

So how to lower the ram usage? Make the textures smaller. (Not the quality, which is more of a compressing thing)