High RAM consumption with long-lasting work

조회 수: 1 (최근 30일)
Marcin Kowalski
Marcin Kowalski 2023년 3월 13일
댓글: Jan 2023년 3월 13일
Dear all,
I experienced very high demand for RAM memory when running my script.
The script is doing the following things:
1) reads the content of the directory in a while loop and when new file (image) appears do the object detection
2) output of the object detection is sent to the mysql database
I added an additional condition to clean selected variable (clear name) after 100 iterations of the loop. It still does not help, MATLAB increases the memory very quickly.
Three days of work - 120 GB of RAM was eaten.
  댓글 수: 1
Jan
Jan 2023년 3월 13일
Without seeing the code, it is impossible to guess, how it works or to suggest a modification.

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by