data logging exceeded available memory
Show older comments
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
on 16 Nov 2014
1 vote
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
Atta Oveisi
on 26 Oct 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
on 27 Oct 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
on 29 Oct 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
on 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
on 11 Apr 2018
my PC 16GB RAM but that error "Data logging exceeded available memory" still appears. What should I do? Thanks before
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!