I would like to ask, if someone knows, if there is possibility to parse 500 MB xml. The problem looks like that. I have huge xml file, which has few nodes (maybe not few, but comparing to one of the nodes, well it is)) One of the nodes is attachment node, which is base 64 encoded. There is possibility, that this node can be around 500 MB.
Now my question is there any possibility to decode it and write to a file without running out of memory on the server? Changing limit over 1GB is not resolutions here.
Well I was looking at xmlReader, but as far as I seen I can reach the node, which I would like to parse, but then I need to save the node into memory, well that's bad idea. I need to append this node to file without reading it, but firstly I need to decode it.
To make it even funnier I will probably get such xml in parts, but I am planning to write parts to file one after another one. (Append it to the end of file)