|
From: Levente T. <le...@ta...> - 2009-04-27 14:21:17
|
Hi,
yesterday we discovered a problem using soap::lite, namely on 64bit
Fedora 10 it is leaking memory about 100bytes/request, however it is
working perfectly on 32bit Fedora 10. I installed the latest from CPAN.
The problem is now narrowed down to the requests made with ->result at
the end, letting the module handle the deserialization of the packet. I
checked it by using a simple test pinging a pokersource network several
times a second for a while.
Once I initialize the object with outputxml('true'), the leak is gone,
but naturally I can't call ->result on the returning string.
did anyone noticed the same problem?
The worst part is that even if I destroy our object that has the
soap::lite reference, the memory doesn't get cleaned up, so I think it
points a little out of perl's range. I suspect a bug somewhere in the
XML parser.
Any idea?
Levente
|