Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  RAM USAGE

    Posted Mon February 24, 2025 09:11 AM

    Hello, 

    I am using cplex studio 2211 with C++ and OPL. I'd like to check how much RAM memory does my program uses.

    Is there a way to do this using concert technology or OPL?

    Thank you 

    Sam



    ------------------------------
    Samuele Viaro
    ------------------------------


  • 2.  RE: RAM USAGE

    Posted Tue February 25, 2025 01:27 AM
    Edited by ALEX FLEISCHER Tue February 25, 2025 04:23 AM

    Hi

    getTotalMemoryUsage() returns the heap size and getMemoryUsage() returns the size actually used in the heap.

    could

    https://community.ibm.com/community/user/ai-datascience/discussion/concert-technology-memory-usage

    help ?

    And within OPL you can use _memoryUsage

    execute
    {
     writeln(thisOplModel._memoryUsage);
    }



    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------



  • 3.  RE: RAM USAGE

    Posted Thu February 27, 2025 07:34 AM

    It does help, thank you!



    ------------------------------
    Samuele Viaro
    ------------------------------