# U3V camera acquistion timeouts

**URL:** <https://forum.commonvisionblox.com/t/u3v-camera-acquistion-timeouts/1529>\
**Category:** General Questions\
**Created:** [October 19, 2021, 7:52am UTC](https://forum.commonvisionblox.com/t/u3v-camera-acquistion-timeouts/1529 "2021-10-19T07:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taserface](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@taserface](https://forum.commonvisionblox.com/u/taserface)\
**Post date:** [October 19, 2021, 7:52am UTC](https://forum.commonvisionblox.com/t/u3v-camera-acquistion-timeouts/1529/1 "2021-10-19T07:52:52Z")

</div>

Hi!

I am currently trying to acquire images from a Jai Spark 12401M camera in CVB. I usually get one image and that’s it - after that `G2Wait` will only return timeouts. I am using 13.04.000 on Ubuntu 18.04 in case that matters. CameraSuite license should be active as well (first image shows no watermark). Is this broken in 13.4??

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [October 19, 2021, 8:52am UTC](https://forum.commonvisionblox.com/t/u3v-camera-acquistion-timeouts/1529/2 "2021-10-19T08:52:27Z")

</div>

Hi @taserface,

You seem to be facing a problem that is related to the USBFS memory limit of Linux.  
This is per default limited to 16MB thus also limiting the number of buffers you can lock in the driver.

A detailed description on this and some more background information can be found here:

[Understanding USBFS on Linux](https://www.flir.de/support-center/iis/machine-vision/application-note/understanding-usbfs-on-linux/)

TL;DR:

Open the /etc/default/grub file in any text editor. Find and replace:

```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

```

with:

```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1000"

```

And update Grub:

```
$ sudo update-grub

```

Dont forget to restart your system.

Cheers  
Chris

---

<div class="post-metadata">

**Author:** ![taserface](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@taserface](https://forum.commonvisionblox.com/u/taserface)\
**Post date:** [October 21, 2021, 6:04am UTC](https://forum.commonvisionblox.com/t/u3v-camera-acquistion-timeouts/1529/3 "2021-10-21T06:04:01Z")

</div>

That was a life-saver! Thanks a lot - wouldn’t have found this in ages…
