Skip to content

Instantly share code, notes, and snippets.

@tklein23
Created November 5, 2013 18:23
Show Gist options
  • Save tklein23/7323621 to your computer and use it in GitHub Desktop.
Save tklein23/7323621 to your computer and use it in GitHub Desktop.
Memory leak in python modular interface
#!/usr/bin/env python
import modshogun
import scipy
import scipy.sparse
import numpy
import time
import resource
train_feat = modshogun.SparseRealFeatures(scipy.sparse.eye(50000, 5000, format='csc'))
eval_feat = modshogun.SparseRealFeatures(scipy.sparse.eye(50000, 50000, format='csc'))
train_labs = modshogun.BinaryLabels(numpy.arange(train_feat.get_num_vectors())%2*2-1)
eval_labs = modshogun.BinaryLabels(numpy.arange(eval_feat.get_num_vectors())%2*2-1)
print "rusage before: " + str(resource.getrusage(resource.RUSAGE_SELF))
i=0
for x in numpy.arange(5):
for y in numpy.arange(20):
svm = modshogun.LibLinear()
svm.set_labels(train_labs)
svm.train(train_feat)
eval_labs_predicted = svm.apply_binary(eval_feat)
svm.set_labels(modshogun.BinaryLabels())
svm.set_features(modshogun.SparseRealFeatures())
del eval_labs_predicted
del svm
i += 1
print "rusage after {}-th runs: ".format(i) + str(resource.getrusage(resource.RUSAGE_SELF))
del train_feat
del eval_feat
del train_labs
del eval_labs
del i
print "rusage after all: " + str(resource.getrusage(resource.RUSAGE_SELF))
==12794== Memcheck, a memory error detector
==12794== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==12794== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==12794== Command: python memleaking-apply_binary.py
[...]
==12794== Address 0x14258020 is 16 bytes before a block of size 21 alloc'd
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x83018AB: shogun::CLabels::init() (Labels.cpp:34)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
[...]
==12794== Address 0x613c020 is 12 bytes after a block of size 4 alloc'd
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402D7: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
[...]
==12794== HEAP SUMMARY:
==12794== in use at exit: 91,996,688 bytes in 65,910 blocks
==12794== total heap usage: 242,056 allocs, 176,146 frees, 214,393,586 bytes allocated
==12794==
==12794== 7 bytes in 1 blocks are possibly lost in loss record 21 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x89996A1: shogun::Parameter::add(shogun::SGVector<double>*, char const*, char const*) (Parameter.cpp:716)
==12794== by 0x830102F: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:26)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 28 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87401E7: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 29 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874022E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 30 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874023E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 31 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874024E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 32 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874025E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 33 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874026E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 34 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874027E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 8 bytes in 2 blocks are definitely lost in loss record 35 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x874028E: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 12 bytes in 1 blocks are possibly lost in loss record 40 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x89996A1: shogun::Parameter::add(shogun::SGVector<double>*, char const*, char const*) (Parameter.cpp:716)
==12794== by 0x830102F: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:26)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 12 bytes in 3 blocks are possibly lost in loss record 41 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x86FDEC3: shogun::SGVector<double>::SGVector(double*, int, bool) (SGVector.cpp:80)
==12794== by 0x83C13B0: shogun::CLinearMachine::apply_get_outputs(shogun::CFeatures*) (LinearMachine.cpp:82)
==12794== by 0x83C1547: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:59)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794==
==12794== 12 bytes in 3 blocks are possibly lost in loss record 42 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899166C: shogun::CSGObject::CSGObject() (SGObject.cpp:124)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 12 bytes in 3 blocks are possibly lost in loss record 43 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x869230B: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:86)
==12794== by 0x82FE971: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:37)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794==
==12794== 13 bytes in 1 blocks are possibly lost in loss record 49 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x83018AB: shogun::CLabels::init() (Labels.cpp:34)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 20 bytes in 5 blocks are possibly lost in loss record 54 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899166C: shogun::CSGObject::CSGObject() (SGObject.cpp:124)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 20 bytes in 5 blocks are possibly lost in loss record 55 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899166C: shogun::CSGObject::CSGObject() (SGObject.cpp:124)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 21 bytes in 1 blocks are possibly lost in loss record 60 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x83018AB: shogun::CLabels::init() (Labels.cpp:34)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 30 bytes in 5 blocks are possibly lost in loss record 72 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x899858F: shogun::Parameter::add_vector(shogun::CSGObject***, int*, char const*, char const*) (Parameter.cpp:440)
==12794== by 0x855C69E: shogun::CSubsetStack::init() (DynamicObjectArray.h:445)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
[...]
==12794== 48 bytes in 1 blocks are possibly lost in loss record 248 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794==
==12794== 55 bytes in 5 blocks are possibly lost in loss record 251 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C70A: shogun::CSubsetStack::init() (DynamicObjectArray.h:459)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 64 bytes in 1 blocks are possibly lost in loss record 274 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x83018AB: shogun::CLabels::init() (Labels.cpp:34)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 64 bytes in 1 blocks are possibly lost in loss record 275 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x89996A1: shogun::Parameter::add(shogun::SGVector<double>*, char const*, char const*) (Parameter.cpp:716)
==12794== by 0x830102F: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:26)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 65 bytes in 5 blocks are possibly lost in loss record 276 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6B9: shogun::CSubsetStack::init() (DynamicObjectArray.h:448)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 70 bytes in 5 blocks are possibly lost in loss record 277 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5D3: shogun::CSubsetStack::init() (SubsetStack.cpp:50)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 70 bytes in 5 blocks are possibly lost in loss record 278 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C6EF: shogun::CSubsetStack::init() (DynamicObjectArray.h:455)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 84 bytes in 4 blocks are possibly lost in loss record 282 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5EE: shogun::CSubsetStack::init() (SubsetStack.cpp:52)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 95 bytes in 5 blocks are possibly lost in loss record 285 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1D5: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1777)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6D4: shogun::CSubsetStack::init() (DynamicObjectArray.h:451)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 96 bytes in 4 blocks are possibly lost in loss record 296 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5EE: shogun::CSubsetStack::init() (SubsetStack.cpp:52)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 100 bytes in 5 blocks are possibly lost in loss record 297 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6B9: shogun::CSubsetStack::init() (DynamicObjectArray.h:448)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 115 bytes in 5 blocks are possibly lost in loss record 299 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6D4: shogun::CSubsetStack::init() (DynamicObjectArray.h:451)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 120 bytes in 5 blocks are possibly lost in loss record 301 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5D3: shogun::CSubsetStack::init() (SubsetStack.cpp:50)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 130 bytes in 5 blocks are possibly lost in loss record 323 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x899858F: shogun::Parameter::add_vector(shogun::CSGObject***, int*, char const*, char const*) (Parameter.cpp:440)
==12794== by 0x855C69E: shogun::CSubsetStack::init() (DynamicObjectArray.h:445)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 140 bytes in 5 blocks are possibly lost in loss record 324 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C70A: shogun::CSubsetStack::init() (DynamicObjectArray.h:459)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 144 bytes in 3 blocks are possibly lost in loss record 326 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991543: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794==
==12794== 144 bytes in 3 blocks are possibly lost in loss record 327 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899155C: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794==
==12794== 215 bytes in 5 blocks are possibly lost in loss record 394 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x874E7C0: shogun::get_copy(void*, unsigned long) (memory.h:80)
==12794== by 0x899D1E1: shogun::TParameter::TParameter(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:1778)
==12794== by 0x899D394: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2778)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C6EF: shogun::CSubsetStack::init() (DynamicObjectArray.h:455)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 397 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 398 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991543: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 399 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899155C: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 400 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 401 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991543: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 240 bytes in 5 blocks are possibly lost in loss record 402 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899155C: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 256 bytes in 4 blocks are possibly lost in loss record 404 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5EE: shogun::CSubsetStack::init() (SubsetStack.cpp:52)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
[...]
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,420 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5D3: shogun::CSubsetStack::init() (SubsetStack.cpp:50)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,421 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x899858F: shogun::Parameter::add_vector(shogun::CSGObject***, int*, char const*, char const*) (Parameter.cpp:440)
==12794== by 0x855C69E: shogun::CSubsetStack::init() (DynamicObjectArray.h:445)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,422 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6B9: shogun::CSubsetStack::init() (DynamicObjectArray.h:448)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,423 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6D4: shogun::CSubsetStack::init() (DynamicObjectArray.h:451)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,424 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C6EF: shogun::CSubsetStack::init() (DynamicObjectArray.h:455)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 320 bytes in 5 blocks are possibly lost in loss record 1,425 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C70A: shogun::CSubsetStack::init() (DynamicObjectArray.h:459)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
[...]
==12794== 384 bytes in 4 blocks are possibly lost in loss record 1,439 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991575: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
[...]
==12794== 480 bytes in 3 blocks are possibly lost in loss record 1,492 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x83C155E: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794== by 0x4658F3: PyRun_FileExFlags (in ./bin/python)
==12794== by 0x465E23: PyRun_SimpleFileExFlags (in ./bin/python)
==12794== by 0x466B98: Py_Main (in ./bin/python)
==12794==
==12794== 480 bytes in 5 blocks are possibly lost in loss record 1,493 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991575: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 480 bytes in 5 blocks are possibly lost in loss record 1,494 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8991575: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
[...]
==12794== 520 bytes in 5 blocks are possibly lost in loss record 1,506 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x83018B5: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
[...]
==12794== 760 bytes in 5 blocks are possibly lost in loss record 1,541 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x855C600: shogun::CSubsetStack::init() (SubsetStack.cpp:55)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
[...]
==12794== 1,024 bytes in 1 blocks are possibly lost in loss record 2,252 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
[...]
==12794== 3,072 bytes in 3 blocks are possibly lost in loss record 2,510 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991567: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 4,096 bytes in 4 blocks are possibly lost in loss record 2,519 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x899154E: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 4,096 bytes in 4 blocks are possibly lost in loss record 2,520 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EE1D: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
[...]
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,535 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,536 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991567: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,537 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EDEE: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,538 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,539 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991567: shogun::CSGObject::init() (SGObject.cpp:1068)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,540 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EDEE: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794==
==12794== 5,120 bytes in 5 blocks are possibly lost in loss record 2,541 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x855C641: shogun::CSubsetStack::init() (memory.h:80)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 6,144 bytes in 6 blocks are possibly lost in loss record 2,557 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EE1D: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 6,144 bytes in 6 blocks are possibly lost in loss record 2,558 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x899154E: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794==
==12794== 6,144 bytes in 6 blocks are possibly lost in loss record 2,559 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EE1D: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
[...]
==12794== 7,063 (48 direct, 7,015 indirect) bytes in 1 blocks are definitely lost in loss record 2,562 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 7,168 bytes in 7 blocks are possibly lost in loss record 2,563 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x898EDEE: shogun::ParameterMap::ParameterMap() (memory.h:80)
==12794== by 0x8991580: shogun::CSGObject::init() (SGObject.cpp:1069)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 7,168 bytes in 7 blocks are possibly lost in loss record 2,564 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x899154E: shogun::CSGObject::init() (SGObject.cpp:1067)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
[...]
==12794== 14,126 (128 direct, 13,998 indirect) bytes in 2 blocks are definitely lost in loss record 2,601 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C6EF: shogun::CSubsetStack::init() (DynamicObjectArray.h:455)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 14,126 (128 direct, 13,998 indirect) bytes in 2 blocks are definitely lost in loss record 2,602 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996D16: shogun::Parameter::add(bool*, char const*, char const*) (Parameter.cpp:30)
==12794== by 0x855C70A: shogun::CSubsetStack::init() (DynamicObjectArray.h:459)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 21,189 (192 direct, 20,997 indirect) bytes in 3 blocks are definitely lost in loss record 2,610 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6B9: shogun::CSubsetStack::init() (DynamicObjectArray.h:448)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 27,488 bytes in 6,872 blocks are definitely lost in loss record 2,613 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402A8: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,488 bytes in 6,872 blocks are definitely lost in loss record 2,614 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402BB: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,488 bytes in 6,872 blocks are definitely lost in loss record 2,615 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402D7: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,492 bytes in 6,873 blocks are definitely lost in loss record 2,616 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402C9: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,492 bytes in 6,873 blocks are definitely lost in loss record 2,617 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402E5: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,492 bytes in 6,873 blocks are definitely lost in loss record 2,618 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x87402F6: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,492 bytes in 6,873 blocks are definitely lost in loss record 2,619 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x8740307: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 27,492 bytes in 6,873 blocks are definitely lost in loss record 2,620 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x8771FA8: shogun::SGReferencedData::SGReferencedData(bool) (SGReferencedData.cpp:15)
==12794== by 0x8867D2A: shogun::SGSparseVector<double>::SGSparseVector() (SGSparseVector.cpp:9)
==12794== by 0x8740318: shogun::SGSparseVector<double>* shogun::sg_generic_malloc<shogun::SGSparseVector<double> >(unsigned long) (memory.cpp:422)
==12794== by 0x7486EAD: bool spmatrix_from_numpy<double>(shogun::SGSparseMatrix<double>&, _object*, int) (modshogunPYTHON_wrap.cxx:6769)
==12794== by 0x70BD997: _wrap_new_SparseRealFeatures__SWIG_2 (modshogunPYTHON_wrap.cxx:426582)
==12794== by 0x70BE48F: _wrap_new_SparseRealFeatures (modshogunPYTHON_wrap.cxx:426782)
==12794== by 0x4AE24D: ??? (in ./bin/python)
==12794== by 0x47BF2A: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 28,252 (256 direct, 27,996 indirect) bytes in 4 blocks are definitely lost in loss record 2,621 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x899858F: shogun::Parameter::add_vector(shogun::CSGObject***, int*, char const*, char const*) (Parameter.cpp:440)
==12794== by 0x855C69E: shogun::CSubsetStack::init() (DynamicObjectArray.h:445)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 42,378 (384 direct, 41,994 indirect) bytes in 6 blocks are definitely lost in loss record 2,624 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8996FA9: shogun::Parameter::add(int*, char const*, char const*) (Parameter.cpp:72)
==12794== by 0x855C6D4: shogun::CSubsetStack::init() (DynamicObjectArray.h:451)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 43,905 (192 direct, 43,713 indirect) bytes in 4 blocks are definitely lost in loss record 2,625 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794==
==12794== 68,005 (448 direct, 67,557 indirect) bytes in 7 blocks are definitely lost in loss record 2,630 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5EE: shogun::CSubsetStack::init() (SubsetStack.cpp:52)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 86,426 (576 direct, 85,850 indirect) bytes in 9 blocks are definitely lost in loss record 2,636 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x855C5D3: shogun::CSubsetStack::init() (SubsetStack.cpp:50)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 89,194 (7,168 direct, 82,026 indirect) bytes in 7 blocks are definitely lost in loss record 2,638 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C765: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:16)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794==
==12794== 90,775 (13,312 direct, 77,463 indirect) bytes in 13 blocks are definitely lost in loss record 2,639 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x855C60B: shogun::CSubsetStack::init() (DynamicObjectArray.h:34)
==12794== by 0x855C77B: shogun::CSubsetStack::CSubsetStack() (SubsetStack.cpp:18)
==12794== by 0x83018C0: shogun::CLabels::init() (Labels.cpp:36)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
[...]
==12794== 1,200,000 bytes in 3 blocks are possibly lost in loss record 2,681 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x8692329: shogun::SGVector<double>::SGVector(int, bool) (memory.h:80)
==12794== by 0x82FE971: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:37)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794== by 0x4658F3: PyRun_FileExFlags (in ./bin/python)
==12794==
==12794== 2,000,000 bytes in 5 blocks are possibly lost in loss record 2,682 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x83C1369: shogun::CLinearMachine::apply_get_outputs(shogun::CFeatures*) (memory.h:80)
==12794== by 0x83C1547: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:59)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794== by 0x4658F3: PyRun_FileExFlags (in ./bin/python)
==12794== by 0x465E23: PyRun_SimpleFileExFlags (in ./bin/python)
==12794==
==12794== 11,380,534 (896 direct, 11,379,638 indirect) bytes in 14 blocks are definitely lost in loss record 2,683 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x8997329: shogun::Parameter::add(shogun::CSGObject**, char const*, char const*) (Parameter.cpp:128)
==12794== by 0x83018AB: shogun::CLabels::init() (Labels.cpp:34)
==12794== by 0x8301A4C: shogun::CLabels::CLabels() (Labels.cpp:23)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 14,236,396 (2,880 direct, 14,233,516 indirect) bytes in 18 blocks are definitely lost in loss record 2,684 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x83C155E: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794== by 0x54038A: ??? (in ./bin/python)
==12794== by 0x4658F3: PyRun_FileExFlags (in ./bin/python)
==12794== by 0x465E23: PyRun_SimpleFileExFlags (in ./bin/python)
==12794== by 0x466B98: Py_Main (in ./bin/python)
==12794==
==12794== 15,449,572 (19,456 direct, 15,430,116 indirect) bytes in 19 blocks are definitely lost in loss record 2,685 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872B05B: shogun::sg_malloc(unsigned long) (memory.cpp:204)
==12794== by 0x899FC5E: shogun::Parameter::Parameter() (memory.h:80)
==12794== by 0x8991535: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794==
==12794== 16,639,809 (1,344 direct, 16,638,465 indirect) bytes in 21 blocks are definitely lost in loss record 2,686 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899D379: shogun::Parameter::add_type(shogun::TSGDataType const*, void*, char const*, char const*) (Parameter.cpp:2779)
==12794== by 0x89996A1: shogun::Parameter::add(shogun::SGVector<double>*, char const*, char const*) (Parameter.cpp:716)
==12794== by 0x830102F: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:26)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794== by 0x53FF11: PyEval_EvalCode (in ./bin/python)
==12794==
==12794== 19,510,324 (1,152 direct, 19,509,172 indirect) bytes in 24 blocks are definitely lost in loss record 2,687 of 2,689
==12794== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12794== by 0x872AE3B: operator new(unsigned long) (memory.cpp:103)
==12794== by 0x899152A: shogun::CSGObject::init() (SGObject.cpp:1066)
==12794== by 0x899165A: shogun::CSGObject::CSGObject() (SGObject.cpp:122)
==12794== by 0x8301A2A: shogun::CLabels::CLabels() (Labels.cpp:21)
==12794== by 0x830100A: shogun::CDenseLabels::CDenseLabels() (DenseLabels.cpp:24)
==12794== by 0x82FE94F: shogun::CBinaryLabels::CBinaryLabels(shogun::SGVector<double>, double) (BinaryLabels.cpp:35)
==12794== by 0x83C1572: shogun::CLinearMachine::apply_binary(shogun::CFeatures*) (LinearMachine.cpp:60)
==12794== by 0x729AEA9: _wrap_LinearMachine_apply_binary__SWIG_0 (modshogunPYTHON_wrap.cxx:589553)
==12794== by 0x729B3B6: _wrap_LinearMachine_apply_binary (modshogunPYTHON_wrap.cxx:589659)
==12794== by 0x47B969: PyEval_EvalFrameEx (in ./bin/python)
==12794== by 0x4E0489: PyEval_EvalCodeEx (in ./bin/python)
==12794==
==12794== LEAK SUMMARY:
==12794== definitely lost: 268,588 bytes in 55,152 blocks
==12794== indirectly lost: 77,673,514 bytes in 5,939 blocks
==12794== possibly lost: 4,333,981 bytes in 641 blocks
==12794== still reachable: 9,720,605 bytes in 4,178 blocks
==12794== suppressed: 0 bytes in 0 blocks
==12794== Reachable blocks (those to which a pointer was found) are not shown.
==12794== To see them, rerun with: --leak-check=full --show-reachable=yes
==12794==
==12794== For counts of detected and suppressed errors, rerun with: -v
==12794== Use --track-origins=yes to see where uninitialised values come from
==12794== ERROR SUMMARY: 6036 errors from 367 contexts (suppressed: 2 from 2)
@sonney2k
Copy link

sonney2k commented Nov 6, 2013

am I right that you didn't see this issue w/o swig/python? if so then I might just have committed a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment