[fpc-pascal] Memory Leak's in XMLRead unit
African Wild Dog
paintedlycaon at gmail.com
Wed Nov 8 13:52:22 CET 2017
2017-11-07 23:57 GMT-02:00 Michael Van Canneyt <michael at freepascal.org>:
> The "memory leak" is the exception object: you are not catching the
> Change your program to the below, and you'll see that it is not leaking
> memory in the XML routines itself.
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal