r/ProgrammerHumor • • Oct 10 '26

Meme theyAreLovingIt

Post image
2.1k Upvotes

83 comments sorted by

View all comments

Show parent comment

5

u/Few_Kitchen_4825 Oct 11 '26

The issue with managed memory management is not ram but cpu utilisation. The number of times I have tried to fix performance issues caused by incorrect gc timing although small has been some of the most stressful times.

Memory management also gives a sense of false security. You still face memory leaks but you also face more complicated memory leaks. Almost all the memory leaks in c++ has always been a missing alloc.

The biggest issue with memory I faced is with memory fragmentation, which is not solved by managed memory. You end up doing the same way as in c++.

3

u/awesome-alpaca-ace Oct 11 '26

At some point, you need to manage your own arena to handle the fragmentation.