General memory leaks in application?

12 Ansichten (letzte 30 Tage)
Chris Wilson
Chris Wilson am 23 Nov. 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 Kommentar
Jan
Jan am 23 Nov. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Chris Wilson
Chris Wilson am 23 Nov. 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 Kommentar
Jan
Jan am 23 Nov. 2012
Matlab is single threaded. So what are "the processes", which are still running? What is the questions?

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by