Hey I am running PlayN in Java, loading a sprite sheet which is 3mb~ in size. I am loading the sprite sheet and caching the sprite map loaded from the asset manager. This works well for 1-2 instances of the object which uses this resource, but more than this and it will lag a lot. Which is expected since each one is taking up 100mb (if I load the same type it won't lag since its being cached).
Anyway wondering if someone would be able to help me identify where the issue is here? Surely a 3mb sprite sheet shouldn't consume 100mb in memory.
Perhaps there is an optimized Image class I can use or something.
Cheers!
Ben