# \#matjl

**URL:** https://discourse.julialang.org/tag/matjl/1220.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Memory allocations after reading arrays from .mat file](https://discourse.julialang.org/t/memory-allocations-after-reading-arrays-from-mat-file/91124)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 6\
**Last updated:** [December 3, 2022, 2:29pm UTC](https://discourse.julialang.org/t/memory-allocations-after-reading-arrays-from-mat-file/91124 "2022-12-03T14:29:38Z")

</div>

Dear all, I have written script that reads arrays from a .mat file and allocated new arrays based on the size of the arrays read from the .mat file. The issue is that when the new arrays are allocated using the size of…
