Originally posted by: YongCheng@TUDarmstadt
Thank you, Daniel.
However, I cannot post my program here because it requires supporting data and files to run.
You are right. Setting MKL_DISABLE_FAST_MM to 1 does not help. Even setting the number of threads to 1 does not help.
In my program, I need to solve a SOCP many times in a for-loop in MATLAB. I creat one global Cplex object and modify the model and call cplex.solve() in each iteration.
For my understanding, the memory used by CPLEX is not freed after solving a SOCP in each iteration. As a result, the memory used by MATLAB is accumulating and growing, which eventually leads to "out of memory" error.
I also tried CPLEX MATLAB toolbox functions. I got the same memory leak problem.
I use CPLEX 12.4 academic version, without license requirement. I try it on Win7 64-bit, Vista 32-bit, and Linux 32-bit systems. I got the memory leak problem for all the cases.
Yong
#CPLEXOptimizers#DecisionOptimization