Last modified: 2014-10-21 19:15:30 UTC
When the Android OS garbage-collects our PageActivity, we store the entire Page object (with the full text content of the page) in the saveInstanceState. For exceedingly large pages, or when multiple large pages are stored, this can create a "TransactionTooLargeException", which would force the OS to close our app entirely (and not even show the crash dialog). This can be reproduced by turning on "don't keep activities" and using the app for a while, making sure to switch between different activities often. The solution should eventually be to find a more efficient way to store the page contents/state (compress / store limited pages / etc).
Change 151779 had a related patch set uploaded by Dbrant: [WIP] Don't store whole Page contents in savedInstanceState. https://gerrit.wikimedia.org/r/151779
Change 151779 abandoned by Dbrant: [WIP] Don't store whole Page contents in savedInstanceState. Reason: superseded by more recent patches. https://gerrit.wikimedia.org/r/151779
https://gerrit.wikimedia.org/r/161483