MATLAB: Error loading mat file

.mat fileload

I have 64bit(win64) and 8GB RAM I have matfile that contains a variable struct size ~4GB, and I receive an error of loading it How should I solve this problem?

Best Answer

If the error is that you are running out of memory, then try increasing the size of your system swap space.
If the error is that some variable is larger than your preference, then you should go into Preferences -> Workspace and scroll down and turn off "Limit the maximum array size to a percentage of RAM"