i test if on windows and linux both.
i watch it the memory use increase to 700M after 10 hours,and i check the other 
code, it's all right. 
 
------------------
何文辉



 
 
  
 ------------------ Original ------------------ 
  From: "Steve Huston (via Nabble)"<[email protected]>;
 Date: 2009年4月14日(星期二) 晚上10:58
 To: "doublefox1981"<[email protected]>; 
 Subject: RE: c++ client , memory leak?

  
> SubscriptionManager subscriptions(session); 
> Listener listener(subscriptions, session); 
> subscriptions.run() 
> 
> because this block the thread, so i use subscriptions.get() 
> in my mainloop 

That is not necessary... Your MessageListener::received() method will 
be called when new messages arrive. 

> but i found the memory used by this process 
> increase all the time, anybody happen this? help me. Thanks 

What OS and qpid version is this? 
What data did you collect to detect the memory leak? 

-Steve 


--------------------------------------------------------------------- 
Apache Qpid - AMQP Messaging Implementation 
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@... 



 
 This email is a reply to your post @ 
http://n2.nabble.com/c%2B%2B-client-%2C-memory-leak--tp2633382p2633614.html
You can reply by email or by visting the link above.
-- 
View this message in context: 
http://n2.nabble.com/c%2B%2B-client-%2C-memory-leak--tp2633382p2636263.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

Reply via email to