title: How to avoid memory leak when using cplex in JAVA?
body: <p>I install the latest version of cplex, and use it via its JAVA API.
  To avoid the overhead of constructing cplex instance, I use cplex.clearmodel and then create the new model.</p>
  
  <p>But when I use it to do linear programming thousands of times, the memory leak issue is very serious. It consumed more than 2GB RAM.
  Does there exist any solution to alleviate the memory leak issue?</p>