General memory leaks in application?

11 visualizaciones (últimos 30 días)
Chris Wilson
Chris Wilson el 23 de Nov. de 2012
I'm new to MatLab although having programmed a fair amount of C, C++, C~, Pacsal etc.
I have an application (which I've taken over) that has a memory leak. In general what can I look for. In C there was new/delete and open/close etc. What are the equivalent in MatLab. Some things are not releasing resources - there is some cleanup in the application but obviously something is missing. Can someone point me in the right direction.
Thanks
Chris
  1 comentario
Jan
Jan el 23 de Nov. de 2012
Please explain any details. How do you determine that you have a memory leak, or at least assume that you have one? What are "some things"? Could you post a minimal example which reproduces the described behavior?
In other words: currently it is not even possible to guess, what you are exactly talking about.

Iniciar sesión para comentar.

Respuestas (1)

Chris Wilson
Chris Wilson el 23 de Nov. de 2012
I've justfound that the processes are still running from earlier invocations of the application even though it is not visible. This appears to be what is taking the memory.
Any ideas?
Chris
  1 comentario
Jan
Jan el 23 de Nov. de 2012
Matlab is single threaded. So what are "the processes", which are still running? What is the questions?

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by