Search code examples
androidback-stackjava-memory-model

Maximum BackStack size in android


I'm a new one to android development. I need to know the Maximum memory Size of BackStack in android
And i want to know How many activities of Android Application can be stored in BackStack

Thanks


Solution

  • The maximum memory size of your back stack is the same as the amount of free memory on your device. You can keep throwing things on the activity stack until you get an OutOfMemoryException.
    Check this