2017-11-07 23:57 GMT-02:00 Michael Van Canneyt <mich...@freepascal.org>:
> > The "memory leak" is the exception object: you are not catching the > exception. > > Change your program to the below, and you'll see that it is not leaking > memory in the XML routines itself. > > Michael. > In fact, protecting with Try..Except does not generate the leak. I will try to reproduce this error again. I noticed this behavior in my FCGI APP: a client was sending a mal-formed XML content and my app was generating the leaks. My environment: Linux Debian Stretch 64 bits - Lazarus 1.6.4 - fpc 3.0.2. I'm quite impressed with the processing power of fastcgi fcl-web applications: they consume little memory (less than 2 MB per instance) and are very fast to process the requests. Regards
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal