I have a SOAP::Lite application which is eventually designed to make tens of thousands to millions of SOAP calls at very short intervals (e.g. 10 per second). It talks to an MSSOAP Toolkit based server on the other side.

My tremendous problem is, it's leaking memory like crazy. Granted the SOAP Web Service is on the complicated side, but it leaks approximately 57KBytes of memory on every SOAP call. That means after 1000 calls the originally 22MB memory footprint Perl program has increased in size to 79MB. What's worse, because the SOAP server on the other side is slow, to get the throughput I need, I need to run many of my Perl clients simultaneous (many = 10 to 30). So the memory leak is really a showstopper.

My "solution" so far is, every 100 SOAP calls, the Perl program exec's itself. But this is not a clean solution.

Ideas? must be Perl-based, because my SOAP::Lite client is only 5% of the total codebase and everything else is written in Perl.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to