# Error when deploying model to Oak-D camera

**URL:** <https://discuss.roboflow.com/t/error-when-deploying-model-to-oak-d-camera/4928>\
**Category:** 🤝  Community Help\
**Created:** [March 19, 2024, 9:25pm UTC](https://discuss.roboflow.com/t/error-when-deploying-model-to-oak-d-camera/4928 "2024-03-19T21:25:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avitus](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/avitus/32/4059_2.png) [@avitus](https://discuss.roboflow.com/u/avitus)\
**Post date:** [March 19, 2024, 9:25pm UTC](https://discuss.roboflow.com/t/error-when-deploying-model-to-oak-d-camera/4928/1 "2024-03-19T21:25:39Z")

</div>

I’m deploying a model to an Oak-D using the Roboflow / DepthAI integration. I’m getting the following error message which seems to suggest that the model was compiled for a different openvino version:

[19443010B1359D2E00] [0.1] [138.381] [VideoEncoder(1)] [critical] Out of memory while creating pool for ‘bitstream’ frames. Number of frames: 4 each with size: 3170304B  
[19443010B1359D2E00] [0.1] [138.443] [VideoEncoder(8)] [critical] Out of memory while creating pool for ‘bitstream’ frames. Number of frames: 4 each with size: 444928B  
[19443010B1359D2E00] [0.1] [143.021] [DetectionNetwork(10)] [critical] Fatal error in openvino ‘universal’. **Likely because the model was compiled for different openvino version.** If you want to select an explicit openvino version use: setOpenVINOVersion while creating pipeline. If error persists please report to developers. Log: ‘Convolution’ ‘265’ ‘CMX memory is not enough!’.  
[19443010B1359D2E00] [0.1] [146.491] [system] [critical] Fatal error. Please report to developers. Log: ‘Fatal error on MSS CPU: trap: 00, address: 00000000’ ‘0’  
[2024-03-18 20:31:44] INFO [root.close:456] Closing OAK camera

- **Project Type: Person Detection**
- **Operating System & Browser: MacOS 14.4, Firefox**
- **Project Universe Link or Workspace/Project ID: [Sign in to Roboflow](https://app.roboflow.com/project/family-id/2)**

---

<div class="post-metadata">

**Author:** ![Jacob\_Witt](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/jacob_witt/32/347_2.png) [@Jacob\_Witt](https://discuss.roboflow.com/u/Jacob_Witt)\
**Post date:** [March 25, 2024, 1:03pm UTC](https://discuss.roboflow.com/t/error-when-deploying-model-to-oak-d-camera/4928/2 "2024-03-25T13:03:56Z")

</div>

Hi @avitus - that looks like you’re starting to run into hardware memory limitations.

You need to decrease your memory usage by compressing the stream, lowering the stream resolution, or reducing the number of output streams.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [April 15, 2024, 1:04pm UTC](https://discuss.roboflow.com/t/error-when-deploying-model-to-oak-d-camera/4928/3 "2024-04-15T13:04:17Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
