I am carrying out simulation based optimization by connecting MATLAB and Hysys using Activex. Hysyslib is used to connect hysys and MATLAB
I am deploying genetic algorithm to carry out optimization. the optimization is running smoothly for some time and then the simulation file crashes . I took the images of task manager to understand the problem of memory flow. How can i debug the file and understand the reasons for crash ?