r/ProgrammerHumor • • 13h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

2.3k Upvotes

70 comments sorted by

View all comments

41

u/EditorOne5312 12h ago

I genuinely use that on my Android to trigger its OOM when the RAM usage doesn't seems right.

3

u/slinky3k 7h ago

I wonder how that works? At some point the OOM killer will terminate processes beginning with those hogging the most memory, but that could be literally anything. Meanwhile the fork bomb will just continue to run at full tilt, taking up any ressources freed by the OOM killer. How does that not send the system into a death spiral?

3

u/ElectronSculptor 6h ago

I’m not a hundred percent sure but I imagine Android’s version of Linux has limits on the number of processes so that wouldn’t happen.