Good day folks,
I searched almost all the topics related to my problem but still no luck of finding some
help. So, I've decided to create a new thread, hoping that someone can shed some light to
my project.
I have a program which reads text files line by line to an array then save a certain part of
that line to some variables
for example:
THE LINE IS: 420510 BRANCH NAME CITY AREA CODE TERMINATOR
THEN THIS WILL BE SAVED IN DIFFERENT VARIABLES LIKE:
PGNUM = 420510
BRNCH = BRANCH NAME AND SO ON..
after which, variables will be saved into a data table and will be displayed in a datagridview..
The problem is, when I am reading/processing a HUGE text file which is 100MB to 1GB in size, there
is this OOM exception thing. Is there any way where I can do this without sacrificing the speed and
performance of my program???
Thanks in advance.