-
Notifications
You must be signed in to change notification settings - Fork 5
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
Memory issues in 2025 #64
Comments
If a team has code that does OOM on a RIO 1 with the 2025 beta, please link it here. |
https://bitbucket.org/sciborgs4061/robot-2025-beta/branches/ -- main branch And also, this code (roughly) was clearly on the hairy edge even in 2024 on a RoboRio 1 in that the "Restart Robot Code" button would not work on the DS unless the Rio configuration web server was disabled. |
https://github.com/21-CameronM/ComBBAT21-2025-Beta Similar issue with OOM errors. Looking at the DS Logs, it's usually around 20 seconds before crashing while idling and disabled. Not very reliably, but when enabling the robot will sometimes crash from OOM. Not entirely sure if this is related to WPI 2025, as the above comment exhibiting similar behavior also uses YAGSL and the handful of vendordeps that come with it. |
After more poking and prodding I'm pretty convinced that our code (sciborgs4061) is really just at the hairy edge. If anyone is having this problem on a roboRIO 1 I highly recommend disabling the NI system web server (you can use the Team Number Setter tool from the WPI menu in VSCode to do so temporarily -- the setting won't survive a reboot, though). That will make ~10MB more available for the robot program and for us that is enough. |
Describe the bug
A bunch of users in the FRC discord have been reporting OOM crashes when upgrading their projects from 2024 to the 2025 beta. All users reporting this are using RIO 1s.
To Reproduce
TBD. I haven't looked too deeply into this, but it seems to be a common thing.
Expected behavior
To not OOM.
The text was updated successfully, but these errors were encountered: