cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to reduce libcurl memory usage

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Jan 2014 08:03:17 +0100 (CET)

On Mon, 27 Jan 2014, Zhao, Fei wrote:

> It seems curl_easy_init() will allocate a lot of memory and the memmory
> can't be released after curl_easy_cleanup().

That's probably the SSL library allocating most of that memory. If you don't
need SSL, consider rebuilding without SSL. If you need SSL, consider
rebuilding with one of the slim SSL libraries targeted for embedded systems
and small footprints.

   http://curl.haxx.se/docs/ssl-compared.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-27