Dear All,

I am reading a large file (10Gb) as follows
open("large_file.txt") do fh
    for line in eachline(fh)
        println(length(line))
    end
end

It is strange to note that the memory consumption goes up linearly with
time. But I would expect it  to be negligible and constant because we are
reading only one line at a time.

Please let me know.

Am I missing something ?

Regards,
Krishna

Reply via email to