I'm trying to process large text files in a language Dart. The files have a size over 100 MB.
I tried readAsLines
and readAsLinesSync
methods of dart:io
library. Every time I run out of memory: Exhausted heap space
.
Is there a way to read a file line by line or byte by byte as in other languages?