Skip to main content

About MemLimit

Answered

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Charitha Buddhika Heendeniya
    • Gurobi-versary
    • Collaborator
    • Investigator

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

    0
  • Matthias Miltenberger
    • 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 Buddhika 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

Post is closed for comments.