DEploid-dev / DEploid

dEploid is designed for deconvoluting mixed genomes with unknown proportions. Traditional ‘phasing’ programs are limited to diploid organisms. Our method modifies Li and Stephen’s algorithm with Markov chain Monte Carlo (MCMC) approaches, and builds a generic framework that allows haloptype searches in a multiple infection setting.
http://deploid.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
20 stars 10 forks source link

Memory leak! #287

Closed shajoezhu closed 5 years ago

shajoezhu commented 6 years ago

See https://circleci.com/gh/DEploid-dev/DEploid/882?utm_campaign=build-failed&utm_medium=email&utm_source=notification for details

shajoezhu commented 6 years ago

Valgrind check of "./dEploid -exclude data/testData/labStrains.test.exclude.txt -plaf data/testData/labStrains.test.PLAF.txt -vcf data/testData/PG0390-C.test.vcf -noPanel -o tmp1 -vcfOut -seed 1" failed.

==27384== 149,032 (384 direct, 148,648 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 21 ==27384== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==27384== by 0x404B21: main (in /home/joezhu/DEploid/dEploid) ==27384== ==27384== ==27384== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ----

shajoezhu commented 5 years ago

fixing in #282