# Tracking JIT compiled objects

**URL:** <https://discourse.julialang.org/t/tracking-jit-compiled-objects/80553>\
**Category:** General Usage\
**Created:** [May 5, 2022, 5:00pm UTC](https://discourse.julialang.org/t/tracking-jit-compiled-objects/80553 "2022-05-05T17:00:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipenoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/felipenoris/32/553_2.png) [@felipenoris](https://discourse.julialang.org/u/felipenoris)\
**Post date:** [May 5, 2022, 5:00pm UTC](https://discourse.julialang.org/t/tracking-jit-compiled-objects/80553/1 "2022-05-05T17:00:11Z")

</div>

Hi!  
I’m getting a lot of memory consumption on my Julia sessions _after_ running some heavy workloads. My best bet is that I’m JIT compiling too many functions and maybe I need to use `nospecialize` somewhere.

What’s the best approach to track this is in my program?

---

<div class="post-metadata">

**Author:** ![Zach\_Christensen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zach_christensen/32/7220_2.png) [@Zach\_Christensen](https://discourse.julialang.org/u/Zach_Christensen)\
**Post date:** [May 5, 2022, 6:35pm UTC](https://discourse.julialang.org/t/tracking-jit-compiled-objects/80553/2 "2022-05-05T18:35:22Z")

</div>

Without any context I’d suggest using [https://github.com/timholy/MethodAnalysis.jl](https://github.com/timholy/MethodAnalysis.jl) to see how many new methods you’re creating.
