I am doing an iOS app with a lot of texture. Not all texture are load at same time, only few.
When I compile in Xcode the app crash and close at once.
In statistics VRAM usage is 4.0 MB to 350 MB (of 256.0 MB)
I think the only solution is to compress the textures, and reduce size.
is the only way or is there another way to load many textures in high quality?
iOS devices don’t have a separate video memory, all the processes are stored in a unified system RAM. And it has a safety limit per application of 128 MB to 512 MB based on the device that you use(Basically half of the ram your device has).
You should profile your application using the XCode’s developer instruments to get an accurate idea of how your game manages system resources. At what point does your game exceeds the safety limit is important. Then you can start optimizing your audio files and stream them from hard drive, compress your textures, create separate loading scenes with nothing but a loading image/text in them to let the garbage collector clean the assets from the previous scene etc.