[fpc-pascal] How to save a huge XML?
wkitty42 at windstream.net
Wed Jun 19 18:48:25 CEST 2013
On 6/19/2013 06:14, Graeme Geldenhuys wrote:
> On 2013-06-19 08:47, Michael Van Canneyt wrote:
>> The problem is that the source XML is completely in memory, which is why it takes so much memory after while.
> And if "logging" is the use case, XML is by far the worst format anybody
> could choose.
yep... if it were myself, i would log in a regular more normal logging format...
then i might create a tool to parse the log and output xml line by line as has
been discussed... that way the logging is still as fast as it can be while those
desiring xml can process the logs and get what they want... or they can create
their own tool... but i guess $$$ talk, too ;)
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the fpc-pascal