cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Memory usage in curl command line

From: Ralph Mitchell <rmitchell_at_eds.com>
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/
Received on 2003-11-04