Neural Network: Out of memory. Type HELP MEMORY for your options.

조회 수: 1 (최근 30일)
Anthony Shivakumar
Anthony Shivakumar 2013년 10월 19일
댓글: arun 2013년 10월 20일
I have a net object which was trained on my slower machine and worked perfectly. My old machine was a 64 bit windows 7, 32bit matlab and 3 gb of ram. but on my new machine which is way more powerful i run into memory problems using the same script and training data.
The config of my new machine is as shown below. Running windows 7 64-bit version and matlab 2013a 64 bit version. Memory details below:
>> memory
Maximum possible array: 11414 MB (1.197e+10 bytes) *
Memory available for all arrays: 11414 MB (1.197e+10 bytes) *
Memory used by MATLAB: 1222 MB (1.281e+09 bytes)
Physical Memory (RAM): 7759 MB (8.136e+09 bytes)
  • Limited by System Memory (physical + swap file) available.
Size of my training data:
>> whos
Name Size Bytes Clas
nn_input 126x62500 63000000 double
nn_output 126x4 4032 double
So, as far as memory is concerned my machine should support it. (It worked on my slower machine so clearly memory should not be a issue).
Even using the same trained net object trained on my slower machine results in: Out of memory. Type HELP MEMORY for your options.
Error in nnMex2.codeHints (line 117)
hints.TEMP = zeros(1,ceil(tempSize/8),'double');
Error in nncalc.setup2 (line 13) calcHints = calcMode.codeHints(calcHints);
Error in network/sim (line 321)
[calcLib,calcNet] =
nncalc.setup2(calcMode,calcNet,calcData,calcHints,isParallel);
Error in network/subsref (line 17)
otherwise, v = sim(vin,subs{:});
in my new machine. And when i start to train using the toolbox, my computer just hangs or MATLAB starts complaining OUT OF MEMORY.
What could be the possible problem?
  댓글 수: 3
Anthony Shivakumar
Anthony Shivakumar 2013년 10월 19일
no, it just states "Out of Memory"
arun
arun 2013년 10월 20일
Sorry, then i have no idea!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by