I've had a couple of out of memory issues(outside of JPCT) and doesn't help that I keep all my textures in memory for fast reloading. So was looking into this:
http://developer.android.com/training/displaying-bitmaps/cache-bitmap.htmlBut wondering if JPCT should have more advance texture manager options built in.
-If the app runs low on memory it will use the new virtualizer class for textures.
-If it still is out of memory then resize the textures down(largest first) until there is enough free memory.
-If textures are too small and still out of memory then unload unused textures until memory enough memory free.
Extra
-Have priority options for which textures should be resized smaller first.
-No longer use virtualizer once you get enough free memory back.
-If the textures been resized to be smaller previously, resize them back up if there is enough free memory(maybe resume only).
Such options would help me so much and I believe would help everyone else too.