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
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
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
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
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
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
2018-4-11
my PC 16GB RAM but that error "Data logging exceeded available memory" still appears. What should I do? Thanks before
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!