Created
December 24, 2013 07:11
-
-
Save Saurabh7/8109824 to your computer and use it in GitHub Desktop.
valgrind memcheck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==17070== Memcheck, a memory error detector | |
==17070== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. | |
==17070== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info | |
==17070== Command: ./a.out | |
==17070== Parent PID: 9182 | |
==17070== | |
==17070== | |
==17070== HEAP SUMMARY: | |
==17070== in use at exit: 53,138 bytes in 1,003 blocks | |
==17070== total heap usage: 6,008 allocs, 5,005 frees, 21,223,370 bytes allocated | |
==17070== | |
==17070== 368 bytes in 1 blocks are definitely lost in loss record 301 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534BA8E: shogun::sg_malloc(unsigned long) (memory.cpp:204) | |
==17070== by 0x52C41CF: int* shogun::sg_generic_malloc<int>(unsigned long) (memory.h:80) | |
==17070== by 0x52AB843: shogun::SGVector<int>::clone_vector(int const*, int) (SGVector.cpp:265) | |
==17070== by 0x5424E94: shogun::CKNN::train_machine(shogun::CFeatures*) (KNN.cpp:86) | |
==17070== by 0x53774F3: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67) | |
==17070== by 0x402100: test_cross_validation() (evaluation_cross_validation_knn.cpp:57) | |
==17070== by 0x402598: main (evaluation_cross_validation_knn.cpp:108) | |
==17070== | |
==17070== 1,176 bytes in 4 blocks are definitely lost in loss record 316 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534BA8E: shogun::sg_malloc(unsigned long) (memory.cpp:204) | |
==17070== by 0x52C41CF: int* shogun::sg_generic_malloc<int>(unsigned long) (memory.h:80) | |
==17070== by 0x52AB843: shogun::SGVector<int>::clone_vector(int const*, int) (SGVector.cpp:265) | |
==17070== by 0x5424E94: shogun::CKNN::train_machine(shogun::CFeatures*) (KNN.cpp:86) | |
==17070== by 0x53774F3: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67) | |
==17070== by 0x5473726: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==17070== by 0x54726A8: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==17070== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==17070== by 0x402598: main (evaluation_cross_validation_knn.cpp:108) | |
==17070== | |
==17070== 5,675 (760 direct, 4,915 indirect) bytes in 5 blocks are definitely lost in loss record 321 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==17070== by 0x55857E2: shogun::CFeatures::init() (Features.cpp:77) | |
==17070== by 0x558541F: shogun::CFeatures::CFeatures(shogun::CFeatures const&) (Features.cpp:33) | |
==17070== by 0x5664463: shogun::CDotFeatures::CDotFeatures(shogun::CDotFeatures const&) (DotFeatures.cpp:50) | |
==17070== by 0x54FE42D: shogun::CDenseFeatures<double>::CDenseFeatures(shogun::CDenseFeatures<double> const&) (DenseFeatures.cpp:30) | |
==17070== by 0x54FE802: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==17070== by 0x54268BF: shogun::CKNN::store_model_features() (KNN.cpp:457) | |
==17070== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==17070== by 0x5473726: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==17070== by 0x54726A8: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==17070== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==17070== | |
==17070== 8,783 (184 direct, 8,599 indirect) bytes in 1 blocks are definitely lost in loss record 322 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==17070== by 0x401F93: test_cross_validation() (evaluation_cross_validation_knn.cpp:40) | |
==17070== by 0x402598: main (evaluation_cross_validation_knn.cpp:108) | |
==17070== | |
==17070== 10,155 (760 direct, 9,395 indirect) bytes in 5 blocks are definitely lost in loss record 323 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==17070== by 0x55857C5: shogun::CFeatures::init() (Features.cpp:76) | |
==17070== by 0x558541F: shogun::CFeatures::CFeatures(shogun::CFeatures const&) (Features.cpp:33) | |
==17070== by 0x5664463: shogun::CDotFeatures::CDotFeatures(shogun::CDotFeatures const&) (DotFeatures.cpp:50) | |
==17070== by 0x54FE42D: shogun::CDenseFeatures<double>::CDenseFeatures(shogun::CDenseFeatures<double> const&) (DenseFeatures.cpp:30) | |
==17070== by 0x54FE802: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==17070== by 0x54268BF: shogun::CKNN::store_model_features() (KNN.cpp:457) | |
==17070== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==17070== by 0x5473726: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==17070== by 0x54726A8: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==17070== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==17070== | |
==17070== 26,817 (920 direct, 25,897 indirect) bytes in 5 blocks are definitely lost in loss record 324 of 324 | |
==17070== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==17070== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==17070== by 0x54FE7F0: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==17070== by 0x54268BF: shogun::CKNN::store_model_features() (KNN.cpp:457) | |
==17070== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==17070== by 0x5473726: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==17070== by 0x54726A8: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==17070== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==17070== by 0x402598: main (evaluation_cross_validation_knn.cpp:108) | |
==17070== | |
==17070== LEAK SUMMARY: | |
==17070== definitely lost: 4,168 bytes in 21 blocks | |
==17070== indirectly lost: 48,806 bytes in 973 blocks | |
==17070== possibly lost: 0 bytes in 0 blocks | |
==17070== still reachable: 164 bytes in 9 blocks | |
==17070== suppressed: 0 bytes in 0 blocks | |
==17070== Reachable blocks (those to which a pointer was found) are not shown. | |
==17070== To see them, rerun with: --leak-check=full --show-reachable=yes | |
==17070== | |
==17070== For counts of detected and suppressed errors, rerun with: -v | |
==17070== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 2 from 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment