Mathias Gibbens
unread,Apr 24, 2014, 12:53:59 AM4/24/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cpp-dri...@lists.datastax.com
Hello,
I am working on a project that is using the cpp driver to communicate
with Cassandra. While running the project under `valgrind`, I have
noticed that there are some memory leaks in the driver. (I am using the
current code available in the master branch of the github repository.)
You can easily verify this behavior by compiling the driver with debug
symbols enabled and then running the included demo program
(./demo/main.cpp) under `valgrind`. I have attached the output of the
report to this message.
The code I am writing will be part of a long-running service that will
create many connections over time via the driver to handle each unique
client, so a growing memory leak will be a problem. (Plus, it's just bad
form to not properly manage your memory!) Restarting the service just to
reclaim memory will not be an acceptable solution.
Could someone who is more familiar with the internal workings of the
driver please investigate this and fix the memory leaks?
System information: Debian "wheezy", with boost 1.49 and g++ 4.7.
Thanks,
Mathias