Hi,
I wanted to track the memory allocated by a function I’ve written for a package. I’ve read the docs about the track allocation flag and have done the following:
N82106:Desktop bward$ julia --track-allocation=user
julia> using BioSequences
julia> using GeneticVariation
julia> cdn = DNACodon(0x000000000000000)
DNA 3-mer:
AAA
# Eval once to compile
julia> GeneticVariation.expected_NG86(cdn, 1.0, GeneticVariation.DEFAULT_TRANS)
(0.3333333333333333, 2.6666666666666665)
julia> Profile.clear_malloc_data()
julia> GeneticVariation.expected_NG86(cdn, 1.0, GeneticVariation.DEFAULT_TRANS)
(0.3333333333333333, 2.6666666666666665)
julia> exit()
But I get no .mem file:
N82106:Desktop bward$ ls *.mem
ls: *.mem: No such file or directory
What am I missing to make this work?