Feb 14 · 4 min read · Understanding JVM memory is one of those topics that appears deceptively simple but is frequently explained with a mixture of intuition and myth. Many developers hear statements like “the heap stores addresses” or “objects contain methods,” which sou...
Join discussion
Jan 24 · 3 min read · කලින් ලිපියේදී Heap Memory එකේ දත්ත කළමනාකරණය කිරීම developerට හෝ ස්වයංක්රීය ක්රියාවලියකට පැවරෙන බව සාකච්ඡා කරා. මෙම ස්වයංක්රීය ක්රියාවලිය හඳුන්වන්නේ Garbage Collector (GC) ලෙසයි. Garbage Collector යනු, Heap Memory තුළ භාවිතයෙන් ඉවත් වූ (unused...
Join discussion
Jan 24 · 3 min read · පරිගණක ක්රමලේඛනයේදී (Computer Programming) memory කළමනාකරණය (Memory Management) ඉතා වැදගත් වේ. ඕනෑම මෘදුකාංගයක් ක්රියාත්මක වන විට, එයට අවශ්ය දත්ත ගබඩා කර තබා ගැනීමට RAM (Random Access Memory) භාවිතා කරයි. මෙම මතකය(Random Access Memory) ප්රධාන වශය...
Join discussion
Oct 12, 2025 · 3 min read · Are you sure you have correct set of memory parameters 😕 Readers ... what is on-heap memory and off-heap memory ?Sir, on heap memory is controlled by JVM and off heap memory is controlled by OS. Good !!! You are correct but that's not it, let's dive...
Join discussion
Sep 5, 2025 · 3 min read · Hello guys, We have already explored Cluster & Worker Threads yesterday but still how Node.js overcomes its single-threaded limitation by scaling across CPU cores and parallelizing heavy tasks. But scaling isn’t just about CPU cycles. Memory manageme...
Join discussionAug 1, 2025 · 6 min read · Objective: To understand everything about Heap. Heap memory Dynamic Allocation: The heap memory allows for dynamic allocation and deallocation of objects. This is a runtime data area of the Java Virtual Machine (JVM) where objects are stored d...
Join discussion
Jul 16, 2025 · 9 min read · A C Programmer's Deep Dive into Dynamic Memory For many C programmers, the journey from writing simple, self-contained functions to building complex, data-driven applications hits a wall. That wall is often memory management. Variables on the stack a...
Join discussionJul 6, 2025 · 4 min read · Memory management is essential in programming, as it influences how code executes. All elements, including variables, loops, and functions, require effective memory allocation to operate efficiently. In JavaScript, memory management involves two prim...
Join discussion
Apr 28, 2025 · 3 min read · When writing programs, developers often focus on algorithms, features, and user experience. But behind the scenes, your program needs somewhere to put its data. That’s where memory comes into play — and two critical types of memory are stack and heap...
Join discussion