Open cirvladimir opened 8 years ago
@vovakkk Does not seem to be too bad... is it with CUDA enabled? If so, check: http://stackoverflow.com/questions/20593450/valgrind-and-cuda-are-reported-leaks-real
Is it an actual issue in any use case?
@naibaf7 Not an actual issue. Not sure about cuda being enabled.
Another source is Protobuf - Caffe2 calls ShutdownProtobufLibrary
for this reason AFAIK (https://github.com/Yangqing/caffe2/blob/d4671faaa3d9dc50bbc701d4a9dffdc9b418421b/caffe2/binaries/run_plan.cc#L18). Could you try adding that to your main and seeing if that reduces the Valgrind noise?
@ajtulloch Tried putting that line in, same valgrind output.
@naibaf7 Leak is there both in GPU and CPU mode.
Code:
The lenet is the one in the examples. Valgrind output: