MATLAB: 32bit Windows 8gb RAM with Ramdisk > Out of Memory in parfor

32bit64bitmemoryparforramramdisk

Hello
I get an error message of "out of memory" when broadcasting a large data set into a parfor pool of workers, even though I have 8gb of RAM in a Win32 (7) machine with Ramdisk for memory addressing. But I suspect the 8gb isn't being used completely and there are things I can do to much improve this.
Would using Win64bit solve this? Or what are the things I can do?
Thank you

Best Answer

Would using 64bit solve this: Probably. In 32 bits your variables can't be larger than around 4GB.
What other things can you do: Make your code more memory-efficient.