I've wrote an application that monitor a queue. Upon the arrival of message, it will signal to spawn another thread, process the message (this might take a long time), check the queue again. If no more message, disconnect from queue manager and the thread exit. I do this to make sure that there will be minimum one thread to monitor the queue. The amount of thread is depend on the quantity of message(Of course, I control the maximum thread can be launched). Anyway, I found that it happen a serious memory and handle leak. Then i wrote a simple multithread application to simulate the same thing. I found that there is a memory leak happen. The application is just spawn a thread --> allocate ImqqueueManger local object and exit thread. I have check out the supportpac, they state they have fix this problem. But why i still encounter the same problem.
I use C++ binding and MQSeries 5.2 CSD02 for Windows NT.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum