I am running a parfor loop and keep getting this error: "Array construction from ByteBuffer Threw an exception."

24 次查看(过去 30 天)
I am running a parfor loop and keep getting this error: "Array construction from ByteBuffer Threw an exception."
I have no idea what this error means and I have been unable to find helpful information on it. Can someone please provide some insight or direction to documentation on what this error means??
Thanks.
  5 个评论
Conner Thompson
Conner Thompson 2022-10-6
I was able to resolve the issue. It seems it was an out-of-memory problem because of how I was sending all of the necessary variables to the workers.
Mehmet Selim Akay
Mehmet Selim Akay 2023-11-19
I run into this problem where I load over and over again my ram so it was always making stying to empty ram space. So, out-of-memory is probably to blame. I will try "tall array" things and recording things in a file when the code is done with a portion of the total work. We will see.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by