Memory problem with exe compiled

I have one exe compiled with the matlab compiler. When I am using this exe, the memory increases from 500KB to 2GB in less than 1 hour of the software usage.
I included the "clear -except handles" in all functions. After this, the memory increases slowlier but I would like to know if there are any function to free up memory, otherwise the software is blocked and I have to restart it. Also I have seen after using xlsread, the Excel.exe process does not terminate automatically.
Can you help me please?
Thank you

1 Commento

Is the memory issue is present while running the code from MATLAB or does it happen with only the compiled executable?

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Release

R2018a

Richiesto:

il 26 Giu 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by