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]
------------------------------
Original Message:
Sent: Mon February 24, 2025 09:11 AM
From: Samuele Viaro
Subject: RAM USAGE
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
------------------------------