# How to programmatically check if an allocation is possible

**URL:** https://discourse.julialang.org/t/how-to-programmatically-check-if-an-allocation-is-possible/67697
**Category:** General Usage
**Tags:** question, memory, memory-allocation
**Created:** [September 4, 2021, 3:43pm UTC](https://discourse.julialang.org/t/how-to-programmatically-check-if-an-allocation-is-possible/67697 "2021-09-04T15:43:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [September 4, 2021, 3:49pm UTC](https://discourse.julialang.org/t/how-to-programmatically-check-if-an-allocation-is-possible/67697/2 "2021-09-04T15:49:04Z")

</div>

Could you check the system free memory like [here](https://discourse.julialang.org/t/how-to-check-how-free-ram-is-available/15288/3)?

---

_[View the full topic](https://discourse.julialang.org/t/how-to-programmatically-check-if-an-allocation-is-possible/67697)._
