It appears these are two separate issues. The RAM usage during data cleanup is being caused while running this query:
SELECT
`Extent1`.`computer_process_history_id`,
`Extent1`.`computer_id`,
`Extent1`.`process_id`,
`Extent1`.`username`,
`Extent1`.`start_time_utc`,
`Extent1`.`close_time_utc`
FROM `computer_process_history` AS `Extent1`
WHERE (`Extent1`.`start_time_utc` < '2024-12-17 13:05:46.557540') AND (`Extent1`.`start_time_utc` > '1996-01-29 13:05:46.272868')
This appears to be related: https://stackoverflow.com/questions/21568479/how-can-i-delete-1-000-rows-with-ef6
Since EF Core 7.0+ has new commands to fix this, hopefully it won't be an issue in Theopenem 2.0. Until then, I'll just do a process history cleanup manually every now and then if necessary.
As far as the software inventory issue goes, none of the instances of that 3M driver were referenced in computer_software. I took a backup of the table and deleted all of them, and we'll see if bulk inventories no longer lock up the server for multiple hours.