data logging exceeded available memory

Hello Can you help me please to solve this problem. we recently changed the matlabr2011a to matlabr2014a and:
32-bit windows 8 pro dual-core 2gb RAM to:
32-bit windows 8.1 pro dual-core 2gb RAM
the messege error was: -data logging exceeded available memory -can not transpose logged data befor saving to matlab

답변 (2개)

Jan
Jan 2014년 11월 16일

1 개 추천

2GB RAM is less than you need, obviously.
Either install more RAM (this is the fastest and most efficient way), or increase the virtual memory (this migtht be horribly slow), or reduce the amount of memory occupied by other programs.

댓글 수: 5

Atta Oveisi
Atta Oveisi 2017년 10월 26일
Dear Jan, My PC has 95 GB RAM, but I still get the same error. I need the results of a very lengthy simulation to be exported from SIMULINK to the workspace for post-processing purposes, and I am using "To Workspace" block for that. The size of the exported data is in the order of 10*230686720. Do you think direct export to a file can help?
Jan
Jan 2017년 10월 27일
@Atta: 2306867200 elements, unassuming the double format, needs 23 GB RAM. With a 95 (96?) GB computer, this might work, but can fail, if you do not have this piece of free RAM in a continuous block. Saving to a file might help. Splitting the output to 10 vectors might be useful also, because it reduces the need for large continuous blocks. But the best solution is still: Install more RAM.
Atta Oveisi
Atta Oveisi 2017년 10월 29일
Thank you, Jan. Saving to file seems to be the only solution that works for me; but for some reason, I lose accuracy in saving file and then loading it back to the workspace. I wonder if that has to to do with the Decimation. PS: The saved file after loaded to workspace takes no more than 30 GB but direct export from Simulink to workspace causes the same nasty error!
Jan
Jan 2017년 11월 1일
Saving to a file and reloading does not loose any information, when you use a binary file (either fwrite or .MAT files). Therefore I do not understand, where or why you assume a reduction of accuracy.
Weiliem Abubakar
Weiliem Abubakar 2018년 4월 11일
my PC 16GB RAM but that error "Data logging exceeded available memory" still appears. What should I do? Thanks before

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

MOKHTARI
MOKHTARI 2014년 11월 16일

0 개 추천

I put in your mind that the program is running normally as soon; whene I pass to recently tversion of matlab (matlabr2012 to matlabr2014) also windows (windows 8 to windows 8.1) the program does not work on the same machine (with the same 2GB RAM);

댓글 수: 1

Jan
Jan 2017년 10월 27일
Okay, but this does not change the situation in any way. Perhaps Windows 8.1 needs more memory.

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

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

질문:

2014년 11월 16일

댓글:

2018년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by