필터 지우기
필터 지우기

Out of memory

조회 수: 3 (최근 30일)
Khalid Khan
Khalid Khan 2012년 6월 18일
댓글: Tony Castillo 2019년 5월 19일
I am runing a simulink model via ascript file named as Run_TCMA_Performance on the following plat form
MATLAB Version 7.11.0.584 (R2010b)
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
and receving following error:
??? Error using ==> Run_TCMA_Performance at 62
Error due to multiple causes.
Caused by:
Error using ==> Run_TCMA_Performance at 62
Data logging exceeded available memory
Error using ==> Run_TCMA_Performance at 62
Cannot allocate sufficient memory for log variable ''. Consider
disabling logging or reducing the length of the simulation
Error using ==> Run_TCMA_Performance at 62
Data logging exceeded available memory
Error using ==> Run_TCMA_Performance at 62
Cannot allocate sufficient memory for log variable ''. Consider
disabling logging or reducing the length of the simulation
I can understand that my machine is going out of memory. However, data is in the work space and I can manually save it. My question is why I cant save it automatically?
Thanks
Khalid
  댓글 수: 3
Khalid Khan
Khalid Khan 2012년 8월 31일
James, Thanks for the reply. However, I solved it by removing scopes. There were two scopes which were storing data at 1e-6 sample time. They were hidden inside the model so did not remember them and these were creating memory problem. Removal of these scopes worked for me.
Thanks Khalid
Tony Castillo
Tony Castillo 2019년 5월 19일
Dear colleague,
I have the same issue, I do not how to find the hidden scope, would you mind explaining how did you find them?.
I am looking forward to hear from you.
Sincerely,
TCC

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

답변 (1개)

James  Robertson
James Robertson 2012년 8월 31일
I had a similar problem which occurred at the same time in each run despite there being plenty of available RAM (according to Task Manager).
I solved the problem by manually removing a discontinuity from the data stored in a .mat file I was using as an input. Whilst this may not seem related to running out of memory, it fixed the problem
James

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by