You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When setting up the Oak-1 Max for still capture at max resolution, we get the following error: RuntimeError: ColorCamera(0) - Out of memory while creating pool for 'still' frames. Number of frames: 4 each with size: 47808000B
I noticed that it will work with the video output unless a control is linked, then we get the same error. isp works with both max resolution and control linked.
I'm not sure why control changes RAM, but I found this: https://docs.luxonis.com/hardware/sensors/IMX582#IMX582-RVC2%20driver%20limits-IMX582%20RAM%20consumption
which suggests that we need to change pool sizes for things to work.
It might be helpful to add this to the RAM error message, or if a resolution could define the pools in such a way that it works - in the case of the IMX582, I imagine the reason people get this sensor is to shoot with those resolutions. Ideally it would work 'out-of-the-box' without custom settings.
We'll look into downsizing the pool sizes automatically for big resolutions, it will technically be a breaking change, since we now have well defined defaults, but it's worth doing, if not elsewhere than on the next major version of the library.
Describe the bug
When setting up the Oak-1 Max for still capture at max resolution, we get the following error:
RuntimeError: ColorCamera(0) - Out of memory while creating pool for 'still' frames. Number of frames: 4 each with size: 47808000B
Minimal Reproducible Example
Expected behavior
It should work fine.
Attach system log
The text was updated successfully, but these errors were encountered: