EPISODE · Nov 30, 2020 · 4 MIN
#23: Garbage collection
from Around IT in 256 seconds · host Tomasz Nurkiewicz
Creating new objects, arrays or strings is so straightforward that we often forget what happens underneath. And I don’t mean trying to figure out what this refers to in JavaScript objects. I mean: memory management. On each request we create a ton of objects. A server can easily allocate hundreds of megabytes of memory. Per second. Memory is cheap and there’s a lot of it. But it’s not infinite. How come we can simply call new Object() over and over again, taking more and more memory from our computer? Many objects are no longer needed a few milliseconds after they’re created. What happens to the memory they occupy? We take for granted what was thought to be almost impossible: automatic memory management. Read more: https://256.nurkiewicz.com/23 Get the new episode straight to your mailbox: https://256.nurkiewicz.com/newsletter
Embed this episode
Ready to play
#23: Garbage collection
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.