# Julia gets killed in terminal when script is run

**URL:** <https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825>\
**Category:** New to Julia\
**Created:** [August 16, 2022, 1:34pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825 "2022-08-16T13:34:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bast](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bast](https://discourse.julialang.org/u/bast)\
**Post date:** [August 16, 2022, 1:34pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825/1 "2022-08-16T13:34:50Z")

</div>

Hi,

I am running a Julia script in my terminal and at some point it gets killed `zsh: killed julia`

Is there a way to get more info as to why it got killed?

Thank you!

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [August 16, 2022, 1:36pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825/2 "2022-08-16T13:36:35Z")

</div>

This almost always means that you ran out of memory.

---

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [August 16, 2022, 1:39pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825/3 "2022-08-16T13:39:26Z")

</div>

If it is the Out Of Memory killer, `dmesg` (on linux) would have a mention of it in the log.

---

<div class="post-metadata">

**Author:** ![bast](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bast](https://discourse.julialang.org/u/bast)\
**Post date:** [August 16, 2022, 1:40pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825/4 "2022-08-16T13:40:05Z")

</div>

Thanks, that was what I was afraid of!
