Tagged articles

heap memory

14 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jul 29, 2026 · Fundamentals

Why Stack Memory Allocation Is Faster Than Heap Allocation

The article explains that stack memory allocation is quicker than heap allocation because the stack uses a simple pointer move and LIFO order, while the heap must search for free blocks, manage fragmentation, and often requires explicit deallocation, leading to higher overhead and potential leaks.

C++Interviewheap memory
0 likes · 65 min read
Why Stack Memory Allocation Is Faster Than Heap Allocation
Programmer1970
Programmer1970
Jun 29, 2026 · Backend Development

How We Cut Full GC from 10 seconds to 200 ms: A Complete JVM GC Tuning Guide

A production outage at 3 am revealed a 10‑second Full GC pause on an 8 GB heap; the article walks through evidence collection, heap‑size rebalancing, switching to G1, fine‑tuning G1 parameters, and code changes that together reduced Full GC pauses to 200 ms and improved latency dramatically.

Full GCG1 GCGC Tuning
0 likes · 12 min read
How We Cut Full GC from 10 seconds to 200 ms: A Complete JVM GC Tuning Guide
Deepin Linux
Deepin Linux
Sep 26, 2025 · Fundamentals

Unlocking Linux Heap Secrets: From Layout to Performance Optimization

This comprehensive guide explores Linux process heap memory layout, the inner workings of malloc and ptmalloc, common pitfalls like leaks, fragmentation and holes, and equips developers with practical tools and optimization techniques to diagnose and improve heap performance.

Linuxheap memoryptmalloc
0 likes · 76 min read
Unlocking Linux Heap Secrets: From Layout to Performance Optimization
Linux Kernel Journey
Linux Kernel Journey
Dec 8, 2024 · Fundamentals

Linux Kernel Source Analysis: Understanding Heap Memory Management

This article explains how the Linux kernel implements heap memory management, covering the heap data structure, the mm_struct fields start_brk and brk, the brk/sbrk and malloc/free allocation methods, the brk and mmap system calls, and the internal glibc structures heap_info and malloc_state that track heap state.

Linuxbrkheap memory
0 likes · 17 min read
Linux Kernel Source Analysis: Understanding Heap Memory Management
JD Cloud Developers
JD Cloud Developers
Jun 26, 2024 · Backend Development

Understanding Java Heap Memory: Prevent OutOfMemory Errors and Optimize GC

This article explains Java heap memory concepts, garbage collection, common memory issues like leaks and OutOfMemoryError, and outlines the team's quality assurance framework—including left‑shift code review, right‑shift monitoring, and continuous delivery practices—to help prevent and resolve production alerts.

Garbage CollectionOutOfMemoryErrorQuality Assurance
0 likes · 10 min read
Understanding Java Heap Memory: Prevent OutOfMemory Errors and Optimize GC
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 12, 2023 · Backend Development

JVM Performance Tuning: Six-Step Process and Key Parameters

This article explains why JVM memory tuning is essential for high‑pay roles, outlines six practical steps—including GC monitoring, heap dump generation, analysis, and parameter adjustments—and provides detailed guidance on heap size, generation ratios, GC types, and thread stack settings to reduce Full GC frequency and improve application performance.

Full GCGarbage CollectionJVM
0 likes · 7 min read
JVM Performance Tuning: Six-Step Process and Key Parameters
Full-Stack Trendsetter
Full-Stack Trendsetter
Jan 27, 2022 · Fundamentals

Understanding the Difference Between JavaScript Stack and Heap Memory

The article explains how JavaScript engines store variables in stack and heap memory, clarifies why const primitives are immutable while object properties can change, shows that new objects reside in heap, and discusses allocation efficiency and garbage‑collection behavior of both memory regions.

Garbage CollectionJavaScriptMemory Management
0 likes · 5 min read
Understanding the Difference Between JavaScript Stack and Heap Memory