cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: strange mem behavior

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 May 2006 18:10:14 +0200 (CEST)

On Wed, 24 May 2006, Devel wrote:

> i have this function in my app SDL based. For test i call this function in a
> loop while. Using top cmd (i'm using linux) i see that VIRT mem associated
> with my apps grow every time i call curl_easy_perform and it doesn't relased
> with curl_easy_perform.

What libcurl version? And does it really grow every time?

> Can you help me to debug this?

Try this approach if you really think libcurl leaks memory:

   http://cool.haxx.se/cvs.cgi/curl/lib/README.memoryleak?rev=HEAD

... or just use valgrind.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-05-24