I've been noticing slow but big memory leaks with music on hold and ccrtp. For instance, over 2 days, it was up to 50% of system memory. Thanks to valgrind I think I have found the leak.

==29118== 5890140 bytes in 34245 blocks are still reachable in loss record 75 of 75
==29118== at 0x1B903F70: operator new[](unsigned) (in /usr/lib/valgrind/vgpreload_memcheck.so)
==29118== by 0x1B9B2860: ost::RTPPacket::RTPPacket(unsigned, unsigned, unsigned char) (rtppkt.cpp:148)
==29118== by 0x1B9B2F74: ost::OutgoingRTPPkt::OutgoingRTPPkt(unsigned char const*, unsigned, unsigned char) (rtppkt.cpp:215)
==29118== by 0x1B9B9E3F: ost::OutgoingDataQueue::putData(unsigned, unsigned char const*, unsigned) (outqueue.cpp:338)



Why aren't the rtp packets being destroyed after they've been sent out?

Dan


_______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to