General memory leaks in application?

조회 수: 6 (최근 30일)
Chris Wilson
Chris Wilson 2012년 11월 23일
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
Jan
Jan 2012년 11월 23일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by