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

Answers (2)

Jan
Jan on 16 Nov 2014
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 Comments

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?
@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.
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!
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.
my PC 16GB RAM but that error "Data logging exceeded available memory" still appears. What should I do? Thanks before

Sign in to comment.

MOKHTARI
MOKHTARI on 16 Nov 2014
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 Comment

Okay, but this does not change the situation in any way. Perhaps Windows 8.1 needs more memory.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Asked:

on 16 Nov 2014

Commented:

on 11 Apr 2018

Community Treasure Hunt

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

Start Hunting!