Don’t just keep trying; report your limits
The other day we had problems with a service dying. It ran out of memory, crashing and failing to respond to all open requests. That service was running analyses of repositories, digging through their files to report on the condition of the code. It ran out of memory trying to analyze a particular large repository …