# How to detect memory leak in Julia?

**URL:** <https://discourse.julialang.org/t/how-to-detect-memory-leak-in-julia/103110>\
**Category:** Tooling\
**Tags:** question\
**Created:** [August 23, 2023, 12:50pm UTC](https://discourse.julialang.org/t/how-to-detect-memory-leak-in-julia/103110 "2023-08-23T12:50:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitboy16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gitboy16/32/24906_2.png) [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Post date:** [August 23, 2023, 12:50pm UTC](https://discourse.julialang.org/t/how-to-detect-memory-leak-in-julia/103110/1 "2023-08-23T12:50:43Z")

</div>

Hi,  
Just would like to know whether there is a tool to detect memory leak in a script, package or Julia itself?  
If yes, could you please provide an example for a simple script?  
Thank you
