Hi guys,
I have a few issues I can’t quite figure out…
- I am looking at memory allocation on iOS (android seems fine) and I am seeing 17MB texture memory and 70-80MB lua memory on device but xCode instruments is reporting 175MB memory and 825MB virtual memory? My app sometimes gets shut down for low memory in iOS. I am using collectgarbage(“count”)/1024 for lua memory and system.getInfo(“textureMemoryUsed”)/1000000 for texture memory. The image below is from xCode instruments, it is taken at the same time as the image in point 2

- I’ve just started to play with shaders and they work fine on simulator(PC and Mac) and Android but fail horribly on iOS. I say fail, but the shader itself works fine, its just all the other graphics either don’t load or load as black boxes. The shader is basically the water effect in the sample. the following image highlights the same code running on iOS and Android.

Any advice would be great
Thanks
Adrian