cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Memory usage in curl command line

From: David Halsted <dhalsted_at_mail.parishsoft.net>
Date: Tue, 4 Nov 2003 12:26:34 -0500

I'm finding that if I issue a Sleep on each iteration, the memory is reclaimed properly. Should have tried that earlier, I guess.

---------- Original Message ----------------------------------
From: Ralph Mitchell <rmitchell_at_eds.com>
Reply-To: curl-users_at_lists.sourceforge.net
Date: Tue, 04 Nov 2003 09:53:27 -0600

>I'm not familiar with VB at all, but if you're running command-line curl
>via a shell exec, I doubt if it's curl leaking the memory. Every time
>the command line curl exits, the system *ought* to reclaim the resources
>used. If it doesn't, that's not curl's fault.
>
>Of course, I could be wrong - I just got off work and have had a couple
>of beers...
>
>Ralph Mitchell
>
>
>David Halsted wrote:
>
>>Hello. I'm calling cURL in a multi-thousand iteration loop in VB6 with a Shell call. cURL is being called to write out a temp file, and the file is being read by an XML parser. The program's really fast, but eats page file space at a pretty good clip (does not do so using other methods of doing an HTTP POST).
>>
>>Do I need to do something to make cURL release the resources it seems to be consuming on each iteration? Or am I just making some elementary mistake?
>>
>>Thanks,
>>Dave Halsted
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: SF.net Giveback Program.
>>Does SourceForge.net help you be more productive? Does it
>>help you create better code? SHARE THE LOVE, and help us help
>>YOU! Click Here: http://sourceforge.net/donate/
>>
>>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive? Does it
>help you create better code? SHARE THE LOVE, and help us help
>YOU! Click Here: http://sourceforge.net/donate/
>

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET