Decision Optimization

 View Only
  • 1.  RAM USAGE

    Posted yesterday

    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 16 hours ago
    Edited by ALEX FLEISCHER 13 hours ago

    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]
    ------------------------------