OpenCV 3.4 out of memory when installing

Hi Everyone,

I’ve been trying to install OpenCV 3.4 (and i tried 3.2) onto my Jetsons TX1 so i can import cv2 into python 3.5 but I keep coming up against memory issues. I have 5GB free on my TX1 but it doesn’t seem to be enough, does anyone know how much space it takes? and if i can build it onto a usb stick but install it on my TX1?

For reference I’ve been following these guides:


There’s an updated article installing OpenCV 3.4 available:

Building on the TX1 internal eMMC may be possible, but requires a lot of gymnastics. In the article, we build on a usb stick and install it on the eMMC in /usr/local.

Hope this helps.