I'm trying to run a simple example code in matlab 2013b for implementing PCA. I have a matrix 2x88000, double, and I run a just single function with this matrix as an argument, and getting error that I'm out of memory with 70% of memory free!
I have installed 16 GB of RAM.
memory function gave:
Maximum possible array: 25778 MB (2.703e+10 bytes) *
Memory available for all arrays: 25778 MB (2.703e+10 bytes) *
Memory used by MATLAB: 1284 MB (1.346e+09 bytes)
Physical Memory (RAM): 16375 MB (1.717e+10 bytes)
Additional information:
I have installed 3 version of matlab: 2011a, 2012b, 2013b.
Windows 7 x64
I did run profilier:
princomp: 0.046 s0.003 s5508.00 Kb 5508.00 Kb 0.00 Kb 1380.00 Kb
it used only 5,5 Mb
profile -memory on
and then start theProfiler
, See the memory usage by your codes there. – Divakar