ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Memory leak in C++ application

Post new topic  Reply to topic
 Memory leak in C++ application « View previous topic :: View next topic » 
Author Message
chinlean
PostPosted: Fri Mar 22, 2002 5:59 am    Post subject: Reply with quote

Newbie

Joined: 15 Mar 2002
Posts: 4

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Memory leak in C++ application
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.