Created
December 27, 2013 13:37
-
-
Save Saurabh7/8146989 to your computer and use it in GitHub Desktop.
valgrind
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
==5340== Memcheck, a memory error detector | |
==5340== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. | |
==5340== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info | |
==5340== Command: ./a.out | |
==5340== Parent PID: 2657 | |
==5340== | |
==5340== | |
==5340== HEAP SUMMARY: | |
==5340== in use at exit: 47,469 bytes in 913 blocks | |
==5340== total heap usage: 6,022 allocs, 5,109 frees, 21,223,510 bytes allocated | |
==5340== | |
==5340== 5,675 (760 direct, 4,915 indirect) bytes in 5 blocks are definitely lost in loss record 235 of 237 | |
==5340== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==5340== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==5340== by 0x55BC07A: shogun::CFeatures::init() (Features.cpp:77) | |
==5340== by 0x55BBCB7: shogun::CFeatures::CFeatures(shogun::CFeatures const&) (Features.cpp:33) | |
==5340== by 0x5690813: shogun::CDotFeatures::CDotFeatures(shogun::CDotFeatures const&) (DotFeatures.cpp:50) | |
==5340== by 0x5535B59: shogun::CDenseFeatures<double>::CDenseFeatures(shogun::CDenseFeatures<double> const&) (DenseFeatures.cpp:30) | |
==5340== by 0x5535F2E: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==5340== by 0x54613CF: shogun::CKNN::store_model_features() (KNN.cpp:456) | |
==5340== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==5340== by 0x54ADEB6: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==5340== by 0x54ACE38: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==5340== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==5340== | |
==5340== 10,155 (760 direct, 9,395 indirect) bytes in 5 blocks are definitely lost in loss record 236 of 237 | |
==5340== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==5340== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==5340== by 0x55BC05D: shogun::CFeatures::init() (Features.cpp:76) | |
==5340== by 0x55BBCB7: shogun::CFeatures::CFeatures(shogun::CFeatures const&) (Features.cpp:33) | |
==5340== by 0x5690813: shogun::CDotFeatures::CDotFeatures(shogun::CDotFeatures const&) (DotFeatures.cpp:50) | |
==5340== by 0x5535B59: shogun::CDenseFeatures<double>::CDenseFeatures(shogun::CDenseFeatures<double> const&) (DenseFeatures.cpp:30) | |
==5340== by 0x5535F2E: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==5340== by 0x54613CF: shogun::CKNN::store_model_features() (KNN.cpp:456) | |
==5340== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==5340== by 0x54ADEB6: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==5340== by 0x54ACE38: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==5340== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==5340== | |
==5340== 31,475 (920 direct, 30,555 indirect) bytes in 5 blocks are definitely lost in loss record 237 of 237 | |
==5340== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==5340== by 0x534B778: operator new(unsigned long) (memory.cpp:103) | |
==5340== by 0x5535F1C: shogun::CDenseFeatures<double>::duplicate() const (DenseFeatures.cpp:66) | |
==5340== by 0x54613CF: shogun::CKNN::store_model_features() (KNN.cpp:456) | |
==5340== by 0x537751B: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:70) | |
==5340== by 0x54ADEB6: shogun::CCrossValidation::evaluate_one_run() (CrossValidation.cpp:333) | |
==5340== by 0x54ACE38: shogun::CCrossValidation::evaluate() (CrossValidation.cpp:143) | |
==5340== by 0x40234E: test_cross_validation() (evaluation_cross_validation_knn.cpp:88) | |
==5340== by 0x402598: main (evaluation_cross_validation_knn.cpp:108) | |
==5340== | |
==5340== LEAK SUMMARY: | |
==5340== definitely lost: 2,440 bytes in 15 blocks | |
==5340== indirectly lost: 44,865 bytes in 889 blocks | |
==5340== possibly lost: 0 bytes in 0 blocks | |
==5340== still reachable: 164 bytes in 9 blocks | |
==5340== suppressed: 0 bytes in 0 blocks | |
==5340== Reachable blocks (those to which a pointer was found) are not shown. | |
==5340== To see them, rerun with: --leak-check=full --show-reachable=yes | |
==5340== | |
==5340== For counts of detected and suppressed errors, rerun with: -v | |
==5340== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 2 from 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment