team401 / high-key-2024

Other
2 stars 0 forks source link

Add USB drive to roboRIO for swap memory #37

Closed jkleiber closed 1 month ago

jkleiber commented 1 month ago

Purpose On October 7th 2024, we observed that the roboRIO ran out of RAM with only the drive and intake subsystems enabled. This is a roboRIO 1, so it has limited RAM.

The objective of this ticket is to install and configure a USB drive to be used as swap memory on the RIO. This should sufficiently mitigate our memory issues for offseason competitions

Project Scope

aidnem commented 1 month ago

Docs for that can be found here.

PChild commented 1 month ago

I did not do swap space but installed a USB drive for logs to save to. I did disable the web server and swap lvrt to the shell script. We're no longer getting code crashes, free disk is around 55 MB, free ram around 77 MB.

We can add on the swap space stuff if needed later.

jkleiber commented 1 month ago

77MB is a good amount of RAM, I hope we can avoid using all of it

jkleiber commented 1 month ago

I'm going to close this for now since we didn't see issues on Wednesday. If we run into problems again we can reopen this or create a new issue