Matlab - Out of memory problem

edited August 2010 in Science & Tech
I have a problem which occurs when I write the command line of the rbf (radial basis function) neural network

net = newrb(Train, Desired);

I get the error

??? Error using ==> unknown
Out of memory. Type HELP MEMORY for your options.


I'm working with 2 GB RAM
Virtual Memory Initial size 4 GB & Maximum size 8 GB

I tried
- Maximizing the virtual memory
- enlarging the memory for matlab by adding this statment to the boot.ini
/fastdetect /3GB /USERVA=3030

but all this with no use

Any help please ?!!!!!!

Thanx in advance

Comments

  • shwaipshwaip bluffin' with my muffin Icrontian
    edited August 2010
    you need more memory.

    Training a neural net takes a lot of memory. You can try using less training points or limiting the number of neurons:

    http://www.mathworks.com/access/helpdesk/help/toolbox/nnet/newrb.html
  • reelbigfishreelbigfish Boston, MA Member
    edited August 2010
    We have several machines here at work running Matlab and all of them have 8GB of RAM. You'd be surprised how much adding more cores and RAM can really speed up certain functions in Matlab.
  • edited August 2010
    My network works very good until 15000 record
    but when I try the network with the 20000 record it gives me the out of memory error
  • shwaipshwaip bluffin' with my muffin Icrontian
    edited August 2010
    try limiting the number of neurons as described in the link above.

    newrb is adding a neuron for every record you input, unless you limit it at something. That's why you're running out of memory.
  • edited August 2010
    I tried limiting the number of neurons, but unfortunately didn't work out :((((

    Thanx 4 trying to help
Sign In or Register to comment.