Hello,

I read a huge text file which could reach to GBs, In this particulare file its 5GB.
I read the whole file in memory, which my machine can handle with no problem. I use QTextStreamer to read line by line and store it in QStringList.
but I see the memery used to read the whole file is 11GB. Why I needed more than double the size of the file to be stored in QStringList.
Is there other way to reduce the memory being used ?? or what coulde be the best and fastes way to read a huge text files ??

Thanks for help,

Jesse.