Cdev
(Chris Devito)
4
@Rishabh_Bisht any suggestions?
valgrind doesnt show any leaks. the issue only happens during the reads from mongoc_cursor_next(). I have investigated all other areas of code and they are not causing this issue.
if i comment out all my index logic, and all my writing of documents, there are no problems.
i have been tracking the ‘RES’ memory of my process via the top command. This is what i see increasing when i execute this code.
this code is in a for loop called for multiple collections, some of them are small collections, some of them are large. Some of these collections have very large documents, some are very small.