# Plot without holding data in memory

**URL:** https://discourse.julialang.org/t/plot-without-holding-data-in-memory/79444
**Category:** Visualization
**Tags:** package, plotting, memory, plots
**Created:** [April 13, 2022, 5:25pm UTC](https://discourse.julialang.org/t/plot-without-holding-data-in-memory/79444 "2022-04-13T17:25:33Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)
#### Post date: [April 15, 2022, 7:29pm UTC](https://discourse.julialang.org/t/plot-without-holding-data-in-memory/79444/5 "2022-04-15T19:29:23Z")

</div>

> [@jcarpi](#):
>
> Basically, I want to update a PNG (or some other static image format equivalent) file with hundreds of GB of data (more than a computer’s memory can hold).

I have found this [post](https://discourse.julialang.org/t/how-to-draw-a-pixel-in-julia-graphics/37316). Your algorithm could look like

```julia
for all chunks of data 
  read chunk
  convert chunk to pixels
  set pixels
end

```

---

_[View the full topic](https://discourse.julialang.org/t/plot-without-holding-data-in-memory/79444)._
