# Memory requirement in \`addprocs\` and loading packages

**URL:** <https://discourse.julialang.org/t/memory-requirement-in-addprocs-and-loading-packages/34695>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 16, 2020, 12:52am UTC](https://discourse.julialang.org/t/memory-requirement-in-addprocs-and-loading-packages/34695 "2020-02-16T00:52:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![biona001](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/biona001/32/16497_2.png) [@biona001](https://discourse.julialang.org/u/biona001)\
**Post date:** [February 16, 2020, 12:52am UTC](https://discourse.julialang.org/t/memory-requirement-in-addprocs-and-loading-packages/34695/1 "2020-02-16T00:52:36Z")

</div>

My cluster jobs keep getting killed due to `execd enforced h_vmem limit`. My script is below:

```julia
using Distributed
addprocs(8)

println("loaded 8 cores...")

@everywhere begin
    using DifferentialEquations
    using Thyrosim
    using DiffEqCallbacks
    using DiffEqParamEstim
    using SharedArrays
end

println("loaded all everywhere packages...")

using Optim

println("loaded Optim")

```

I do not even get `loaded 8 cores...`. On the cluster I requested 8 cores each with 3GB, so I’m pretty confused as to how I used more than 24GB. Any information is appreciated.
