Skip to main content

About MemLimit

Answered

Comments

3 comments

  • Charitha Heendeniya
    Gurobi-versary
    Collaborator
    Investigator

    Adding one more observation: OutofMemory is observed right at the end of the presolve. 

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Charitha,

    it may happen that Gurobi requests more memory but doesn't use it, yet. The idea of the MemLimit parameter is mainly to allow a more controlled termination without actually using too much memory and disturbing other processes.

    Did you try running without setting the MemLimit parameter?

    Cheers,
    Matthias

    0
  • Charitha Heendeniya
    Gurobi-versary
    Collaborator
    Investigator

    Sorry for the late reply. I did experiment with and without it. Without the MemLimit parameter, the OS takes care of the problem, but that occurs later. So probably, the behavior of Gurobi MemLimit is, as you said, related to some anticipated future memory use. 

    0

Please sign in to leave a comment.