cURL / Mailing Lists / curl-library / Single Mail


Reducing memory consumption.

From: Tsachi <>
Date: Sun, 14 Dec 2008 18:34:17 +0200


(I am using "libcurl 7.19.1" with c-ares 1.5.3 (over linux)).
I am writing a program which fetches many http links simultaneously.
I have noticed that every time I call curl_easy_init() around 70K of
memory is allocated.
Now taking into consideration that I want to use around 1000 handles,
this might be an issue (~70 MB in memory).

Is there a way to reduce that ?

Received on 2008-12-14