Laasya Kandukurilaasya.hashnode.dev·Nov 15, 2024Garbage Collection: How It Works and Why It MattersGarbage collection is one of the really important processes of programming languages as it collects vacant memory quite efficiently with the help of automatic memory reclamation. If not for this, developers would have to manually allocate as well as ...DiscussJava
Siddhartha Soxyprogrammer.com·Oct 26, 2024Exploring Memory Management: A .NET Developer's Insights into GolangIntroduction Over a decade ago, as I explored the intricacies of .NET memory allocation, it struck me as intuitive and elegant. The CLR efficiently manages the Managed Heap as a contiguous slice of memory, optimizing garbage collection—a brilliant co...Discuss·219 readsBackendescape analysis
Darshit Anjariadarshitanjaria.hashnode.dev·Oct 25, 2024Mastering Memory Management in JavaScript: A Deep Dive into Garbage CollectionIntroduction In any programming language, managing memory efficiently is crucial to building high-performance applications. JavaScript, despite being a high-level language, handles memory management for you through a process called Garbage Collection...Discuss·37 readsJavaScript
Jival Jensonwilt.hashnode.dev·Oct 23, 2024WILT - Garbage Collection in the JVM: A Modern Deep DiveWhen writing code in high-level languages like Java, one of the biggest advantages we enjoy is automatic memory management. Developers don’t have to worry about manually allocating or freeing memory, thanks to a behind-the-scenes hero called Garbage ...DiscussJava
Sarthak Sharmaamni.hashnode.dev·Oct 20, 2024JAVA: ConstructorsPrologue Think of it as assembling furniture. You follow instructions to put all the parts together so it works. Similarly, when you create an object in Java, a constructor helps set it up correctly from the start. Without it, the object would be inc...DiscussJavaJava
Md Maruf Howladermarufhow.hashnode.dev·Sep 18, 2024Value Type vs Reference Type ⚡ Structure Can Make Your Code Super Fast!Value types and Reference types are two different ways data is handled in memory. Here’s a simple explanation with examples : Value Types: A value type stores the data directly in the memory allocated for the variable. When you assign a value to a va...Discuss·1 likevalue types
Muralidrtex.hashnode.dev·Aug 9, 2024Types of Garbage Collectorsn Java, garbage collection is the process of automatically identifying and reclaiming memory that is no longer in use by the program. The Java Virtual Machine (JVM) provides several types of garbage collectors, each designed to optimize memory manage...DiscussJava
Shalon N. Ngiginjeri-ngigi.hashnode.dev·Aug 8, 2024Memory Management in JavaScriptAn overview Memory management in JavaScript is handled automatically by a JavaScript engine, most popular engine being the v8 engine, developed by Google, used in Node.js. and Chromium-based browsers (Like Chrome, Edge etc.) The engine uses 2 key mem...Discuss·100 readsgarbagecollection
Tatiana Limatatilima.hashnode.dev·Jul 25, 2024Garbage CollectorO Garbage Collector (GC) é um mecanismo de gerenciamento automático de memória utilizado em ambientes de execução como o .NET Framework, .NET Core e .NET 5+. Sua principal função é liberar memória ocupada por objetos que não são mais utilizados pelo ...DiscussC#
Priya Ranjanpriyaranjan001.hashnode.dev·Jul 18, 2024Memory management in javaMemory management in Java 2 types of memory 1) Stack 2) Heap Stack memory: ---Stores temporary variables and separate memory block for methods. --- Store primitive data types --- Store Reference of heap objects. 1) Strong reference 2)Weak references ...DiscussJava