Topic
  • 4 replies
  • Latest Post - ‏2013-06-05T23:15:45Z by lydiazhao
manar
manar
5 Posts

Pinned topic out of memory

‏2013-04-25T23:11:37Z |

Hey Everyone,

 

Please does somebody know hwy Cplex could give sometimes " out of memory" error? and How can I solve this issue?

 

Thanks

Manar

  • HuiD
    HuiD
    30 Posts

    Re: out of memory

    ‏2013-05-28T10:27:12Z  

    I ran into this problem a lot so instead of using a 4 G RAM desktop I solve the problem with a server. You can try use a computer with more RAM, eg 8 G. Or you can try to revise your model to reduce the size of the problem. 

  • demius
    demius
    3 Posts

    Re: out of memory

    ‏2013-06-05T15:41:11Z  

    Hello Manar,

     

    by using the following code:

    execute PARAMS{

      cplex.WorkDir = "C:\\WishedLocation"

    }

    the branch and bound tree will be saved on your hdd to the "WishedLocation" and the RAM will not run out of memory. 

    Hope this helps.

     

  • manar
    manar
    5 Posts

    Re: out of memory

    ‏2013-06-05T16:47:10Z  
    • demius
    • ‏2013-06-05T15:41:11Z

    Hello Manar,

     

    by using the following code:

    execute PARAMS{

      cplex.WorkDir = "C:\\WishedLocation"

    }

    the branch and bound tree will be saved on your hdd to the "WishedLocation" and the RAM will not run out of memory. 

    Hope this helps.

     

    Thanks a lot for your help,

    I will try this code and hopefully it will work

     

    Regards

    Manar

  • lydiazhao
    lydiazhao
    6 Posts

    Re: out of memory

    ‏2013-06-05T23:15:45Z  
    • manar
    • ‏2013-06-05T16:47:10Z

    Thanks a lot for your help,

    I will try this code and hopefully it will work

     

    Regards

    Manar

    I also ran into this problem.I found Java.exe gobbles memory.So far,I didn't solve my problem.The only way is to tear my problem apart then combine them together again.

    Hope someone can help.I tried that method of demius,it seemed it didn't work.

    Regards,

    Lydia