Hello.
I am investigating a behavior related to the execution of CPLEX.jl. So, let’s consider the following environment:
- Linux pop-os 6.4.6-76060406-generic; And
- Julia version 1.8.4.
And the following commands:
julia --threads=auto --project=.
julia> include("src/run.jl")
julia> runMyCplexModel("instance_file1") # running a cplex model
julia> runMyCplexModel("instance_file2") # running another cplex model
Let’s assume that both, instance 1 (instance_file1
), and instance 2 (instance_file2
) lead to huge models, in the number of variables, let’s say something in the order of 40000
variables.
When running the instances, that is
julia> runMyCplexModel("instance_file1")
julia> runMyCplexModel("instance_file2")
linux kills the julia process during the instance 2 (instance_file2
) execution, due to the amount of consumed RAM memory. However, if I run both instances in different julia sessions, that is
julia --threads=auto --project=.
julia> runMyCplexModel("instance_file1")
julia> exit()
julia --threads=auto --project=.
julia> runMyCplexModel("instance_file2")
julia> exit()
no problem manifests.
I would like to know if there is any julia command to track the amount of allocated RAM memory, so I could provide a more precisest diagnostic.
Thanks and regards.