You are here:  » I need to read in a 60MB XML file.


I need to read in a 60MB XML file.

Submitted by buyowner on Fri, 2008-11-21 16:50 in

Any tips on reading in a 60MB file. I can't seem to get this to work due to all the memory requirements.

I thought XMLReader would help, but I'm not sure I could combined both XMLReader and MagicParser.

Any help would be greatly appreciated.

Dan

Submitted by support on Fri, 2008-11-21 17:53

Hello Dan,

With very large files, it's normally only a case of making sure the Format String is correct; otherwise the entire file may be loaded into memory, causing the obvious problems.

Can you perhaps email me a link to the file so that I can download it to my test server and take a look, then I'll get back to you with the correct code...

Cheers,
David.