# Where to find profiling (.mem/.cov) files

**URL:** https://discourse.julialang.org/t/where-to-find-profiling-mem-cov-files/21200
**Category:** General Usage
**Created:** [February 26, 2019, 3:35am UTC](https://discourse.julialang.org/t/where-to-find-profiling-mem-cov-files/21200 "2019-02-26T03:35:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dhazeghi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dhazeghi/32/7107_2.png) [@dhazeghi](https://discourse.julialang.org/u/dhazeghi)
#### Post date: [February 26, 2019, 3:35am UTC](https://discourse.julialang.org/t/where-to-find-profiling-mem-cov-files/21200/1 "2019-02-26T03:35:53Z")

</div>

Hi folks,

I’m trying to do analysis on some code using the --track-allocation=user and --code-coverage=user. Profiling data does seem to be getting saved for external packages (e.g. Base, DataFrames, etc.) in the package directory. For my own modules/code, I’m not finding any profiling data, either in $JULIA\_DEPOT\_PATH, $JULIA\_LOAD\_PATH or pwd(). Where should I be looking? Thanks,

Dara

---

<div class="post-metadata">

### Author: ![dhazeghi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dhazeghi/32/7107_2.png) [@dhazeghi](https://discourse.julialang.org/u/dhazeghi)
#### Post date: [March 6, 2019, 4:16pm UTC](https://discourse.julialang.org/t/where-to-find-profiling-mem-cov-files/21200/2 "2019-03-06T16:16:32Z")

</div>

I finally tracked this one down - the source directory ($JULIA\_LOAD\_PATH) was not writable by the Julia user - once I made it writable, the files show up (it would have been nice to get some sort of error).

I’m now trying to understand some of the output. For example in the below snipped, I see a huge number of allocations attributed to the assignment from z. I’m wondering if this might be a relic of optimization flags/inlining?

```julia
array = zeros (UInt16, 5000, 20)
...
    for i in 1:20
       z::UInt16 = myfunction()
    ...
       for j in 1:5000
            array[j, i] = z <--------------------

```
