SimpleMarkdown
SimpleMarkdown copied to clipboard
Potential Crash with Large Files
I received a 1-star review that opening a large file crashed the app, and then rendered it unusable when attempting to re-open the app. I suspect the large file is being read in its entirety into memory and triggering an out of memory error, and then subsequent loads are attempting to auto-load that same problematic file. An ideal solution would probably be to only load part of the file into memory at any given time, though that may require a custom view and some investigation into how Android handles reads directly from the file descriptor as opposed to just reading the file into one large string.