activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From opernas <oper...@indra.es>
Subject ActiveMQ-CPP: memory leak with persistent sendings?
Date Fri, 26 Feb 2010 09:35:20 GMT

Hi all,


I was making test with activemq-cms and persistent messages, and  I saw that
my memory consumption was increasing for every each message that I send. The
same example with NON_PERSISTENT delivery mode flag doesn't loose any
memory. 
Valgrind with the example of your web and PERSISTENT flag on:

-----------------------------------------------------                            
Finished with the example.                                                       
=====================================================                            
==6141==                                                                         
==6141== HEAP SUMMARY:
==6141==     in use at exit: 1,750,846 bytes in 50,014 blocks
==6141==   total heap usage: 317,727 allocs, 267,713 frees, 31,314,995 bytes
allocated
==6141==
==6141== LEAK SUMMARY:
==6141==    definitely lost: 677,572 bytes in 3,999 blocks
==6141==    indirectly lost: 1,071,561 bytes in 45,977 blocks
==6141==      possibly lost: 1,685 bytes in 37 blocks
==6141==    still reachable: 28 bytes in 1 blocks
==6141==         suppressed: 0 bytes in 0 blocks
==6141== Rerun with --leak-check=full to see details of leaked memory
==6141==
==6141== For counts of detected and suppressed errors, rerun with: -v
==6141== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 37 from 6)


Perhaps it's something about the acknowledge? 



regards

-- 
View this message in context: http://old.nabble.com/ActiveMQ-CPP%3A-memory-leak-with-persistent-sendings--tp27716173p27716173.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message