Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low Memory Warning #43

Open
BasilHarun opened this issue Aug 18, 2021 · 3 comments
Open

Low Memory Warning #43

BasilHarun opened this issue Aug 18, 2021 · 3 comments

Comments

@BasilHarun
Copy link

Hi Guys, I’m getting this Error after executing the Main.py.

31893284-E93B-44C1-A6CF-484CAA67555C

I believe it’s a low Memory Error as I’m using Jetson Nano 2GB.

52E02193-04DB-4AF2-A0FD-0B8880C7B4A5

Can anyone advise, how I can Resolve this with out changing to 4GB Nano Kit.

Kind Regards,

@tomasz-lewicki
Copy link
Owner

Hi @BasilHarun
You can increase swap size. Here you can read on how to do it. A lot of memory is allocated by pytorch/cuDNN, but never used in the main loop. In my case over 1GB was moved to swap on Nano 2GB.

@BasilHarun
Copy link
Author

Hi @tomek-l

thanks for replying. I’ve already created a 5gb swap.

5C7C1391-9D77-457F-969D-B3460C7E326E

but Error is persistent.

@tomasz-lewicki
Copy link
Owner

As long as you have some memory left, the program shouldn't crash. The error you're seeing is generated by nvarguscamerasrc.

  1. Try sudo systemctl restart nvargus-daemon.service, that could help.
  2. What does the output of dmesg | grep imx219 command say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants