[fpc-pascal] How to save a huge XML?
Michael Van Canneyt
michael at freepascal.org
Wed Jun 19 09:47:39 CEST 2013
On Wed, 19 Jun 2013, Michael Schnell wrote:
> On 06/18/2013 02:35 PM, Marcos Douglas wrote:
>> Today I call WriteXMLFile(Doc, AFileName) but I have XML with 5G, 10G..
>> What the best way to save "line by line"?
> Why not push it through a stream compressor ?
You completely miss the point.
The stream has nothing to do with the problem.
The problem is that the source XML is completely in memory, which is why it takes so much memory after while.
More information about the fpc-pascal