How to resolve out of memory error in matlab? Please read details
6 views (last 30 days)
I am working on an ubuntu system with 24 core workstation. I need to load a large matrix of size (15,9000,100,90). Can any one please help me resolve this error. Do we get this error because of space limitation on matlab or the system? Since my system has enough space, I am still getting this error.
William Smith on 3 Apr 2018
Edited: William Smith on 3 Apr 2018
And check the size of the maximum possible array. An array needs contiguous memory, it's possible yours is fragmented.
If that doesn't help, try
(see https://undocumentedmatlab.com/blog/undocumented-feature-function ) Also, look into sparse arrays if the data is sparse (i.e. most elements are 0).