Skip to main content

Is there a way to limit the memory used by Gurobi algorithms ?

Answered

Comments

2 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Sophie,

    The parameter MemLimit limits the memory used by Gurobi. When the set memory limit is reached, an error is thrown. Thus, this parameter may not be suitable for your application. For very large models it is sometimes just not possible to compress all the model data, i.e., all coefficients, rows, columns, Barrier matrices etc., to a fixed memory amount. I think in your case, you should try to reduce the memory used as discussed in How do I avoid an out-of-memory condition? Usually, the best alternative is to switch to a bigger machine, e.g., a cloud machine, to execute the computations.

    Best regards, 
    Jaromił

    0
  • Sophie Wuyckens
    Gurobi-versary
    First Question
    Conversationalist

    Hi Jaromil,

    Thank you very much. Very informative, exactly what I needed to know.

    Regards,

    Sophie

    0

Please sign in to leave a comment.