-
Notifications
You must be signed in to change notification settings - Fork 277
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
High CPU% after around 10k objects detected (Jetson Nano) #263
Comments
Or maybe i just need stronger hardware, maybe a Jetson TX2 |
Thanks for reporting this.. very possible we are doing something not optimized with mongodb that makes things not performant... One of the many issue that would need to be investigated to turn OpenDataCam from a prototype to a real reliable product ;-) |
Adding this to the OpenDataCam v4 release backlog to remind to at least do a long run try and see if CPU usage is not exploding |
I've been running some benchmarks on my development machine.
Looking at the data it does seem that there is a memory leak in NodeJS and MongoDB, which may also explain the increase in CPU usage. Please note that I do not have a NVIDIA GPU available and therefore was not able to profile Darknet, but only Node and MongoDB. I suspect it it has the following sources:
Fixing both could potentially decrease the memory leaks and CPU usage. Footnotes: |
While working on #528 I noticed that there is another memory leak coming from the node moving things tacker. A short analysis shows that the itemHistory and map of tracked is growing a lot (up to 200 kb/s)! Will need further investigation, though |
Closed via #528 |
Hi All,
Im experiencing a strange problem using Opendatacam without docker on a jetson nano. ( I am using yolov3-tiny-prn as the weight and i am passing a video feed via a usb camera)
When I start the recording my cpu % is around 25%
After 10k objects have been counted the cpu hits around 95% and the nano starts becoming slightly unresponsive.
The recording carries on but the opendatacam log starts showing the following error (Error with message send by YOLO, not valid JSON)
I am not sure what is happening but it looks like its got something to do with Mongo.
Please have a look at the screenshots that i have provided. Any help will be greatly appreciated.
The text was updated successfully, but these errors were encountered: