mojoshaneman has asked for the wisdom of the Perl Monks concerning the following question:
I'm posting a very large amount of data to a https URL. The data is not a file, but actual parameter data.
my ($response) = $ua->post($Url, \%postHash);
The $postHash has 50 Mb of data. I am watching task manager and see that the amount of memory used by perl.exe goes up past 500 Mb while calling the post and does not return to normal levels once the post returns.
My questions are:
1) Why does the post need so much memory?
2) What can I do to reduce memory use?
3) What do I need to do to get memory back once the post is completed?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP: large post over https
by spiritway (Vicar) on Mar 17, 2006 at 04:19 UTC |