Hi
I am faced with quite a challenge. I need to open a 70-100 meg file and be
able to chunk it out using AJAX back to the client but that isn't my problem
really. What I need to do is open the file and get pieces of it out without
loading the entire thing into memory. The pieces themselves are random
although of a fixed size. If I tried to read an entire file into a stirng
and parse pieces out I use too much memory and if I use the xmlTextReader and
the skip method my memory problems are solved but it creates a huge
performance issue. If I don't have to I don't want to write my own parser
and try and read and track the tags byte by byte. Basically I would love to
be able to go to a point in my file and read from it saving only the position
of my cursor in the file (but not the actual cursor because of the sharing of
session issues)
Any help would be greatly appreciated and I apologize if this double posted.
I asked this question this morning but I haven't seen if come up in the past
few hours so I am trying again.
thanks