Submit a ticket My Tickets
Login  Sign up

Reducing memory usage on Jetson

OpenALPR will run on both Jetson TX-2 and Jetson TX-1 with default parameters.  However, on the TX-1 and Nano especially, memory usage will be very tight.  If you're running additional software besides OpenALPR, you may want to reduce the system memory usage.  Here are a few tips that will help:


Disable the GUI

Memory usage: ~600MB

The Jetson comes with a desktop version of Ubuntu installed.  If the GUI is not required for operation, you can disable it with the following commands:


sudo systemctl set-default

sudo reboot

To enable GUI again issue the command:

sudo systemctl set-default


to start a GUI session on a system without a current GUI execute:

sudo systemctl start gdm3.service


Disable Vehicle Make/Model Detection

Memory Usage: ~800MB

Edit the /etc/openalpr/alprd.conf file and set the following parameter:

classify_vehicles = 0


Reduce the batch size:

Memory Usage: ~200MB

Edit /etc/openalpr/alprd.conf and set the following parameter:

gpu_batch_size = 3


Reduce the input resolution:

Dropping your input video resolution from 1080p to 720p for example will reduce memory usage by 100MB or so.

Ryan is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.