|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#8
|
|||
|
|||
|
Re: JVM Pegs CRIO at 100% CPU Regardless of Code
Another thing to watch out for is SmartDashboard stuff. We had a SmartDashboard :: putData in one of our controller classes (that runs iteratively in a separate thread) which pegged us near 100%. Calling this 50 times less per second (aka 50HZ to 0Hz) brought us from near 100% CPU usage to ~50%.
(Without looking at the code, I'm guessing without a receiving dashboard app we were spamming handshakes?) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|