# OutOfMemoryError() on the terminal but NOT on Jupyter

**URL:** https://discourse.julialang.org/t/outofmemoryerror-on-the-terminal-but-not-on-jupyter/10032
**Category:** General Usage
**Created:** [March 28, 2018, 1:56pm UTC](https://discourse.julialang.org/t/outofmemoryerror-on-the-terminal-but-not-on-jupyter/10032 "2018-03-28T13:56:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 28, 2018, 1:56pm UTC](https://discourse.julialang.org/t/outofmemoryerror-on-the-terminal-but-not-on-jupyter/10032/1 "2018-03-28T13:56:11Z")

</div>

Hello, when I run the following code on a (400, 800, 5844) Array{Float32,3} matrix on a server with 64GB of RAM I receive an

```julia
ERROR: OutOfMemoryError()
Stacktrace:
 [1] convert(::Type{Array{Float64,3}}, ::Array{Float32,3}) at ./array.jl:373

```

But only when I use the terminal (interactively or trough `julia myscript.jl`). When instead I use JupyterHub it runs smoothly.  
Is there a setting in the terminal that is limiting the RAM ?

Ubuntu 16.04, Julia 0.6.1

EDIT: No, it’s the same… it was a colleague that was keeping lots of notebooks (kernels) opens… can this post be deleted (it seems the author can edit it but not delete it) ?
