[{"data":1,"prerenderedAt":74},["ShallowReactive",2],{"term-h\u002Fheap-dump":3,"related-h\u002Fheap-dump":59},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":53,"sitemap":54,"stem":57,"subcategory":6,"__hash__":58},"terms\u002Fterms\u002Fh\u002Fheap-dump.md","Heap Dump",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 - The Vibe Check",[16,17,18],"p",{},"A heap dump is a full snapshot of every single object living in your program's memory at one exact moment, frozen so you can poke through it later. When memory keeps climbing and you don't know why, you take a heap dump, load it into a viewer, and start asking wait, why are there twelve million of these objects still alive.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A heap dump is a snapshot of all objects and their reference graph in a program's managed heap at a point in time, used to diagnose memory leaks and excessive memory usage. Analysis tools let you sort objects by retained size and trace reference chains back to find what is unexpectedly holding a reference and preventing garbage collection.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"Take a heap dump in staging before it OOMs in prod.\" \u002F \"The heap dump showed a cache that never evicted anything, that was the leak.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"backend","A heap dump is a full snapshot of every single object living in your program's memory at one exact moment, frozen so you can poke through it later.","intermediate","md","h",{},true,"\u002Fterms\u002Fh\u002Fheap-dump",[49,50,51,52],"Memory Leak","Garbage Collection","Profiling","Memory Fragmentation",{"title":5,"description":41},{"changefreq":55,"priority":56},"weekly",0.7,"terms\u002Fh\u002Fheap-dump","NIWcs7qyhidrQ0SPhaXXYMJba6J40hVtVFnivYMOeLc",[60,65,68,71],{"title":50,"path":61,"acronym":62,"category":63,"difficulty":42,"description":64},"\u002Fterms\u002Fg\u002Fgarbage-collection","GC","general","Garbage collection is your programming language's automatic cleanup crew. When you create variables and objects, they take up memory.",{"title":52,"path":66,"acronym":6,"category":40,"difficulty":42,"description":67},"\u002Fterms\u002Fm\u002Fmemory-fragmentation","Memory fragmentation is what happens when your program has plenty of free memory in total, but it's scattered around in small, useless chunks instead of on...",{"title":49,"path":69,"acronym":6,"category":63,"difficulty":42,"description":70},"\u002Fterms\u002Fm\u002Fmemory-leak","A memory leak is when your program keeps grabbing more memory but never gives it back, like filling a bathtub without a drain.",{"title":51,"path":72,"acronym":6,"category":40,"difficulty":42,"description":73},"\u002Fterms\u002Fp\u002Fprofiling","Profiling is watching your program run and keeping score of where the time and memory actually go, instead of guessing.",1792528090798]