cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: memory leak or my error?

From: <RBramante_at_on.com>
Date: Thu, 29 May 2003 15:46:23 -0400

Are you calling curl_global_cleanup()?

                                                                                                                               
                      "Paul Accosta"
                      <paco_at_hungary.cc> To: curl-library_at_lists.sourceforge.net
                      Sent by: cc:
                      curl-library-admin_at_lists.sour Subject: memory leak or my error?
                      ceforge.net
                                                                                                                               
                                                                                                                               
                      05/29/2003 03:10 PM
                      Please respond to
                      curl-library
                                                                                                                               
                                                                                                                               

Im basically just doing a get of a webpage, its boils donw to 4 basic
calls:

    curl = curl_easy_init();
    curl_easy_setopt(curl, CURLOPT_URL, dst_str);
    res = curl_easy_perform(curl);
    curl_easy_cleanup(curl);

Ive noticed my memory keeps rising, I monitored it carefully and notice
that it rises significantly with the perform call and never drops back
down. Is there something else I need to do to fix this?

Paco

ps.Thanks for all the help last time, your ideas worked for me

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-05-29