Android - Max ram usage?

When I want to load a 1920 by 1080 pixel PGraphics image, I have 45 FPS, even tho, my tablet has 8 GB ram and is fairly good performance. How do I change the max ram?

Hi @Lissie,

Not really get what your issue is and why you want extend your RAM even when your image is displayed with 45 fps !? Guessing would be you want to get it displayed ie. by 60 fps but that have not necessarily to do with RAM !?

Cheers
---- mnse

What exactly do you want to do?

Processing is possibly having to scale your image to the display screen size on every frame. Do an offline resize to match your screen dimensions and load that instead…unless your phone is that exact size?

Also, the 8GB ram of your phone is irrelevant. Android seriously limits how much ram your app has available… called heap size … probably around 256 MB … on a modern phone?