[fpc-pascal] How to save a huge XML?

Michael Van Canneyt michael at freepascal.org
Tue Jun 18 17:13:52 CEST 2013



On Tue, 18 Jun 2013, Marcos Douglas wrote:

> On Tue, Jun 18, 2013 at 12:04 PM, Zaher Dirkey <parmaja at gmail.com> wrote:
>>
>> On Tue, Jun 18, 2013 at 6:00 PM, Marcos Douglas <md at delfire.net> wrote:
>>>
>>> But in that way I will have two process to run.
>>> I'll write a XML using strings... but thank you.
>>
>>
>> one process, but in function like TXMLLogger.Finish you can convert it,
>> using strings in memory, it will eat your memory.
>
> But I continue to keep the XML in memory...
> The easy and fast way as I can see is change the TXMLLogger class to
> write a simple file text but not using DOM.

Yes.

Michael.



More information about the fpc-pascal mailing list