# Memory usage reported by varinfo()

**URL:** https://discourse.julialang.org/t/memory-usage-reported-by-varinfo/26452
**Category:** New to Julia
**Created:** [July 17, 2019, 7:10am UTC](https://discourse.julialang.org/t/memory-usage-reported-by-varinfo/26452 "2019-07-17T07:10:43Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [July 17, 2019, 7:27am UTC](https://discourse.julialang.org/t/memory-usage-reported-by-varinfo/26452/2 "2019-07-17T07:27:59Z")

</div>

> [@sparrowhawk](#):
>
> makes `b` refer to a

This is not a correct understanding. Both `a` and `b` refer to the array that is stored somewhere in memory. `a` doesn’t own this array anymore than `b`. In fact, there is no way you can tell the difference between `a` and `b`.

This might be useful: [Converting a Matlab code into Julia - #18 by kristoffer.carlsson](https://discourse.julialang.org/t/converting-a-matlab-code-into-julia/12166/18)

---

_[View the full topic](https://discourse.julialang.org/t/memory-usage-reported-by-varinfo/26452)._
