Re: Memory "leak" when using gnutls as SSL library
Date: Thu, 21 Nov 2019 10:24:00 +0100
> I think this topic has been covered already in some other emails I found
> in the archive, however I was still experiencing this myself the other
> day. So the way I got here was by running a couple of heap profilers
> (the first time I saw gnutls library being the culprit for the memory
> usage I assumed google perf tools were just lying but ... no) that
> claimed that some certificate function in gnutls had allocated more than
> 130MB of RAM for just a couple or three HTTPS requests.
> After seeing this I switched to libcurl-openssl which didn't do anything
> like that, it seems the SSL bits themselves were using 1 or 2 MB at most.
I don't know the relation of gnutls to openssl, but
comes to mind. In case gnutls uses the openssl code, could it
be that they inherit some of the old bugs?