matlab out of memory in ubuntu
i have a program in matlab , in previous version of ubuntu (ubuntu 8.10), it was ran successfully but in new version of it (9.04) when i ran it ,the following error was appeared in command window:
Out of memory. Type HELP MEMORY for your options. i saw in system monitor that in perevious version swap memory was used but in new version when Ram was full this error was appeared and swap memory was not used how can i fix this error |
Quote:
|
Memory management in Matlab explained here.
|
A similar error...
Quote:
I have read the documentation on: http://www.mathworks.com/support/tec...1100/1107.html http://www.mathworks.com/support/tec...1100/1106.html as well as, HELP MEMORY, but I cannot use this function: >> memory ??? Error using ==> memory Function MEMORY is not available on this platform. also: >> feature memory ??? Error using ==> feature An unknown feature was specified >> feature memstat ??? Error using ==> feature An unknown feature was specified >> feature memstats ??? Error using ==> feature An unknown feature was specified >> feature('memstats') ??? Error using ==> feature An unknown feature was specified etc... As far as my memory is concerned, this is the dump I get directly after receiving the matlab "out of memory" error: jono@jono-laptop:~$ ulimit unlimited jono@jono-laptop:~$ free -m .............total.......used.......free.....shared....buffers.....cached Mem:..........3616.......2221.......1394..........0........139........761 -/+.buffers/cache:.......1320.......2295 Swap:.........8189..........0.......8189 I am working with a 5x2e6 array of float numbers, and will be using them in a neural network. In my mind this is only around 80mb for the array, and maybe a few more times that for preprocessing... Does anyone have any suggestions? Thanks! Jono |
All times are GMT -5. The time now is 07:55 PM. |