Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia is killed inside docker when creating a large array #19111

Closed
nkottary opened this issue Oct 26, 2016 · 2 comments
Closed

Julia is killed inside docker when creating a large array #19111

nkottary opened this issue Oct 26, 2016 · 2 comments

Comments

@nkottary
Copy link
Contributor

$ ./julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0 (2016-09-19 18:14 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> a = rand(Int8, (10^6) * 500); # Create a 500MB array

julia> b = rand(Int8, (10^6) * 500); # Create another 500MB array
Killed
d3b69162de1b root [~/julia-3c9d75391c/bin]
$

I have limited the memory to 1 GB on the docker (ubuntu) container and there is no swap setup. Is it possible to throw an OutOfMemoryError in this case?

@ViralBShah
Copy link
Member

Is docker killing it by sending a signal?

@yuyichao
Copy link
Contributor

Dup of #18274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants