© 2026 Hashnode
කලින් ලිපියේදී Heap Memory එකේ දත්ත කළමනාකරණය කිරීම developerට හෝ ස්වයංක්රීය ක්රියාවලියකට පැවරෙන බව සාකච්ඡා කරා. මෙම ස්වයංක්රීය ක්රියාවලිය හඳුන්වන්නේ Garbage Collector (GC) ලෙසයි. Garbage Collector යනු, Heap Memory තුළ භාවිතයෙන් ඉවත් වූ (unused...

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...
