Home:ALL Converter>Flutter crashes on iPhone while processing large file

Flutter crashes on iPhone while processing large file

Ask Time:2021-10-27T09:08:47         Author:papers1010

Json Formatter

Upon startup of my Flutter app, I'm processing a large, deeply nested json file (for reference, the file is ~50mb) and placing it into a Trie. When building the Trie, the app stalls, then crashes. I think it may be some memory issue, either heap overflow or stack overflow.

What is the limit to the heap or stack while using flutter and running it on an iPhone X?

Does anyone know what could be causing this crash issue while processing my asset json file or what could fix it? Thanks!

Author:papers1010,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69731588/flutter-crashes-on-iphone-while-processing-large-file
yy