General memory leaks in application?

11 ビュー (過去 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 Center および File ExchangeLogical についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by