MATLAB: Out of memory while using tables

memory

Hello,
I tried to read to a table file of 25 GB. I'm getting out of memory error (I have 16 GB ram)
I tried to allocate virtual memory, but for some reason it didn't solved the problem. doas anyone knows why?

Best Answer

You need to use tall arrays for a dataset larger than your memory: https://www.mathworks.com/help/matlab/tall-arrays.html. Especially see this example about tall tables: https://www.mathworks.com/help/matlab/import_export/tall-arrays.html