# How to free resources used within the JuliaCall environment?

**URL:** <https://discourse.julialang.org/t/how-to-free-resources-used-within-the-juliacall-environment/66565>\
**Category:** General Usage\
**Tags:** question, interoperability, juliacall\
**Created:** [August 17, 2021, 7:09pm UTC](https://discourse.julialang.org/t/how-to-free-resources-used-within-the-juliacall-environment/66565 "2021-08-17T19:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkarikom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkarikom/32/7096_2.png) [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Post date:** [August 17, 2021, 7:09pm UTC](https://discourse.julialang.org/t/how-to-free-resources-used-within-the-juliacall-environment/66565/1 "2021-08-17T19:09:16Z")

</div>

What is the best way to do this?

Is there a variable within the R session that I can `rm()` to free memory from the julia variables that were created?
