# High memory usage in v1.8.0 vs v1.7.2

**URL:** https://discourse.julialang.org/t/high-memory-usage-in-v1-8-0-vs-v1-7-2/86559
**Category:** General Usage
**Tags:** memory-allocation
**Created:** [August 30, 2022, 4:36pm UTC](https://discourse.julialang.org/t/high-memory-usage-in-v1-8-0-vs-v1-7-2/86559 "2022-08-30T16:36:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fastwave](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fastwave/32/14725_2.png) [@fastwave](https://discourse.julialang.org/u/fastwave)
#### Post date: [August 30, 2022, 4:36pm UTC](https://discourse.julialang.org/t/high-memory-usage-in-v1-8-0-vs-v1-7-2/86559/1 "2022-08-30T16:36:39Z")

</div>

I have a calculation that runs over two days. The memory usage stays below 3GB when using 1.7.2, but grows very slowly to over 30GB in 1.8.0 until the OOM killer terminates julia. It takes about a day to get there though. Is this a known issue? If not, I will try to debug it a bit more, although I dread the amount of time that it will take. Maybe I would also need suggestion how to get started with debugging?

Thanks,  
Robert

---

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [August 30, 2022, 4:40pm UTC](https://discourse.julialang.org/t/high-memory-usage-in-v1-8-0-vs-v1-7-2/86559/2 "2022-08-30T16:40:02Z")

</div>

You’re not the first: [Resource usage in versions 1.7.2 and 1.8.0](https://discourse.julialang.org/t/resource-usage-in-versions-1-7-2-and-1-8-0/86111)

Can you give more information about your code?

---

<div class="post-metadata">

### Author: ![fastwave](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fastwave/32/14725_2.png) [@fastwave](https://discourse.julialang.org/u/fastwave)
#### Post date: [September 9, 2022, 8:54am UTC](https://discourse.julialang.org/t/high-memory-usage-in-v1-8-0-vs-v1-7-2/86559/3 "2022-09-09T08:54:09Z")

</div>

Many thanks for the link. The code that makes this occur is here:  
[https://github.com/rs1909/FMA](https://github.com/rs1909/FMA)

the examples as described in [https://github.com/rs1909/FMA/blob/master/examples/synthetic\_ten\_dimensional/README.md](https://github.com/rs1909/FMA/blob/master/examples/synthetic_ten_dimensional/README.md)  
are affected.

This is a large codebase, so it it is not obvious what to strip off to create a simpler testcase.
