mono/MonoGame — Issue #170: Memory Leak on Android when Orientation Changes
Author: dellis1972
Created: 2011-12-14 19:32:17+00:00
State: open

There seems to be a big problem with the Orientation change stuff on Android. After reading the documentation the Activity is re-created each time the Orientation/Configuration changes. The means the Game object is being re-created each time, so all the assets are loaded again and again and again each time the orientation changes.

We need to figure out a way to detect this and keep the same game object/ content manager around and just swap out the Activity/ AndroidGameView.

This will not effect people who just use a fixed screen orientation for games as the orientation will not change. however this might be the cause of the Resume issue we have been seeing as well.