Decision Optimization

 View Only
  • 1.  RAM USAGE

    Posted 2 days ago

    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 yesterday
    Edited by ALEX FLEISCHER yesterday

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