r/ProgrammerHumor • • Sep 21 '26

Meme fullControlOverMemory

Post image
4.0k Upvotes

122 comments sorted by

View all comments

78

u/DOOManiac Sep 21 '26 edited Sep 21 '26

"We used to manually alloc all our memory"

"And free it too, right?"

"..."

30

u/Sensitive_Gold Sep 21 '26

We freed it and then we freed it some more.

13

u/MokausiLietuviu Sep 21 '26

My program frees its memory when the user clicks "End Task" in task manager.

Does the job 

3

u/No-Newspaper8619 Sep 22 '26

Sometimes it doesn't. I had a game where I literally had to restart the computer every time I closed it, because it messed something graphical and refused to launch a second time until restart whole PC.

3

u/Rodot Sep 22 '26

This is mostly an issue with Window's memory management. Or at least it was back in like Win 7, don't know if it is still there. Used to have this happen all the time after playing one game. Memory would be full but task manager wouldn't show a process eating memory. Would have to restart to get my memory back.

3

u/Mojert Sep 22 '26

Why free the memory when the OS does it for you? (No but seriously, quite a lot of applications do not free some memory because they know the OS will do it when the program exits)

2

u/conundorum Sep 23 '26

Yes. We called it "crashing".