High load memory for low phones made it crashed when switching screens

High load memory for low phones made it crashed when switching screens
i did everything to make it not crashed even i made the images sizes with low sizes but still crashing with low phones only, here is my swtich block

You might eliminate the Blocks that play a sound file or place the the Sound Play block in the in the Initialize event handler of the Screen you use the Buttons to move to. :wink: or use shorter sound files.

Also, avoid the animated gif; that uses lots of memory.

Does any of those ideas let you avoid the crash.

The voice is just 3 kb and the animation image is not working in the initialize it only works with a clock when clicking on a button, here is the screen view too

and ia decreases the icons and images much it worked better but still needs more and i cant decrease the images more
i just wanna every screen independent so the ram cant load all screens images in one time just every screen has it is images so i need the ram to be free again when switching screens
image

Use logcat to find out what exactly the problem is

You are using a variation of the Tribblehunter method of switching screens, however usually you first open the other screen before closing the current screen

Also the if true statement is superfluous, just remove it

Taifun