Tracking JIT compiled objects

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?

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