this post was submitted on 13 Jul 2025
140 points (94.9% liked)

memes

16207 readers
2724 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jim3692@discuss.online 0 points 21 hours ago* (last edited 21 hours ago)

An important detail that is missing here is how deallocation works.

When an application tells the system that it no longer needs a chunk of memory, the system does not erase the data from that region. It instead allows other applications to take control of that chunk.

Imagine it like renting a room, but you keep a copy of the key before checking out. You have supposedly left the room, but you still have access to it.

In the software world, this is unintentional behavior. In the real world, it would look like you accidentally return to that room.

Or, like you checkout, but your friend still has a key. Without knowing that you checked out, they return to take a bath. If a 3rd person knows about this miscommunication, they can rent that room, and steal your friend's money during the bath.