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.

+1

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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to