there is memery leak in both versions of NuSoap (normal and for php 5.3). Problem is if soap client is connected to one API, and makes a lot of requests (5000+), you use appendDebug function to append log messages to debug variable, that's ok. Problem is that even if we set debugLevel = 0, varDump is called to provide log message that is not saved then, executing varDump many times without even needing it, it causes a big cpu usage and memory leak. Solution should be in adding checking for debugLevel before creating debug message.
I comment the code of varDump to solve my problem, but this should be solved in repository, because it can be frustrating to discover what does eat memory.
Log in to post a comment.