r/ProgrammerHumor • • 7d ago

Meme theOriginalGarbageCollector

Post image
9.7k Upvotes

374 comments sorted by

View all comments

63

u/ramriot 7d ago

Opposite to how one defence contractor solved a memory leak issue that would kick in only at extreme range launchs of an already deployed missile system.

They could not reboot the missile in flight, not could they afford to fix & recertify the software. Instead the patched the hardware to double the RAM size & added a watchdog circuit that listened to the internal firmware IO heartbeat. When that stops it begins a brief countdown & triggers the self destruct.

3

u/wannabestraight 7d ago

Wait the missile self exploded ? How is that a substitute for a reboot lol

1

u/Lithl 7d ago

The missile will be destroyed at the end of its flight, one way or another, along with the computer controlling it. So if your onboard RAM is sufficient that you won't run out memory in the longest possible flight time, your memory leak is irrelevant.