I know there VMRuntime.getRuntime (). setMinimumHeapSize in Android 2.1 / 2.2 for the developer to adjust the initial heap size of the application, and this is one of the most effective solutions to solve the OutOfMemory error during BitmapFactory.decodeStream ()
However, starting with Android 2.3, this VMRuntime class is removed from the official API, does anyone know an alternative API for this function in 2.3?
source
share