# How to release memory from jupyter notebook?

**URL:** https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886
**Category:** Jupyter-Notebook
**Created:** [March 10, 2021, 2:39pm UTC](https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886 "2021-03-10T14:39:14Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [March 10, 2021, 4:15pm UTC](https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886/5 "2021-03-10T16:15:55Z")

</div>

Sorry just to be clear, this is only about the output of a cell? I.e. if I have

```julia
df = CSV.read(myhugefile.csv, DataFrame)

data = df[1:10, 1:5]

df = nothing

```

in a cell then there would not be a reference to the full data read in from csv?

EDIT: I should probably just check this myself but unfortunately my computer is currently unusable due to processing some large csv files in a Jupyter notebook 🙂

---

_[View the full topic](https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886)._
