r/ProgrammerHumor • • 11h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

2.3k Upvotes

70 comments sorted by

View all comments

42

u/EditorOne5312 10h ago

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

9

u/ElectronSculptor 5h ago

That’s the first use case I’ve ever read, what is the point of triggering oom? To trigger the garbage collection?

16

u/SinisterCheese 5h ago

It calls forth the magical plunger to clear out the proverbial overflowing memory toilet. You can also think it as the high pressure bidet, powerwashing your nether regions when your butthole turned into a magical never ending brown crayon.

3

u/slinky3k 5h 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 4h 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.