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

Antworten (2)

Jan
Jan am 16 Nov. 2014

1 Stimme

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 Kommentare

Atta Oveisi
Atta Oveisi am 26 Okt. 2017
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 am 27 Okt. 2017
@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 am 29 Okt. 2017
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 am 1 Nov. 2017
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 am 11 Apr. 2018
my PC 16GB RAM but that error "Data logging exceeded available memory" still appears. What should I do? Thanks before

Melden Sie sich an, um zu kommentieren.

MOKHTARI
MOKHTARI am 16 Nov. 2014

0 Stimmen

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 Kommentar

Jan
Jan am 27 Okt. 2017
Okay, but this does not change the situation in any way. Perhaps Windows 8.1 needs more memory.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 16 Nov. 2014

Kommentiert:

am 11 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by