32bit Windows 8gb RAM with Ramdisk > Out of Memory in parfor
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
José-Luis
2013-1-11
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.
0 个评论
更多回答(1 个)
Jason Ross
2013-1-11
Go to a 64-bit operating system and optimize there. If you have a system that accepts 8 GB of RAM, it's likely that all you need to do is reinstall the OS.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!