I have created one game which uses images and my game is in portrait and landscape mode. I have 2 different layout for that When i switch from 1 orientation to other, after doing this 5 6 times, it gives force close error Error is like :
Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
Anyone know the solution? is there any way to clean up all images in switching orientation ? thanks in advance