Try to load the textures via an InputStream (for example: res.openRawResource(R.raw.texture)) instead and see if that helps.
What's the relation between memory usage and the text on the Activity?
Unfotunately, it makes no difference if I load the textures via an Inputstream
Here (
http://tinypic.com/r/28m2452/6) you have a short video (01:30) that shows the increase in memory usage. Everytime you see the data changes is because I've rotated the phone... Also, you can see that in the end, when the memory usage reaches 27MB it goes back down to 17/18MB...
I don't know what the relation is between the missing text in PreferenceActivity and the memory usage, maybe it has nothing to do, but the text corruption always happens after a few orientation changes, never at the beginning...
Also, I would like to know if it is really necessary to call dispose() on the World and SkyBox objects (I know you call it on the Framebuffer).
Thank you!