필터 지우기
필터 지우기

Memory leak of parallel workers

조회 수: 6 (최근 30일)
Frantisek Gaspar
Frantisek Gaspar 2021년 10월 23일
댓글: Frantisek Gaspar 2021년 11월 18일
I have a code using the local cluster for the execution of functions using parfeval. I was using this code on version 2018a and there was no problem. After I installed 2021a the same code (on the same machine) changed its behaviour.
Now it looks like there is a memory leak during parallel executions. After each evaluation, the used RAM of each worker grows and grows until it crashes. Speed of the growth suggests that large volumes of memory are being gathered in each worker. This leaking is not observed in 2018a version.
I tried to search for how to manage or monitor memory on the workers but I found nothing useable. Also, I never encountered a memory leak in MATLAB and I am unsure how to proceed.
Is there a documented change between versions 2018a-2021a that concerned memory management of parallel workers? Does someone have any experience with similar behaviour? What to do?
  댓글 수: 1
Frantisek Gaspar
Frantisek Gaspar 2021년 11월 18일
As a follow-up, after the windows update the issue disappeared. I guess that the problem was in windows memory handling and not in MATLAB.

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

답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by