Tagged articles
488 articles
Page 5 of 5
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 18, 2019 · Big Data

Understanding JVM Garbage Collection and Flink Memory Management

This article explains the fundamentals of JVM garbage collection, its generational algorithms and associated performance issues, and then details Apache Flink's memory management architecture, including MemorySegment, off‑heap buffers, serialization mechanisms, and type information for efficient big‑data processing.

Big DataFlinkGarbage Collection
0 likes · 7 min read
Understanding JVM Garbage Collection and Flink Memory Management
Architecture Digest
Architecture Digest
Nov 7, 2019 · Fundamentals

How the JVM Determines Object Liveness and Its Garbage Collection Algorithms

This article explains the JVM memory model, how the JVM decides whether an object is alive using reference counting and reachability analysis, and describes the main garbage‑collection algorithms—including mark‑sweep, mark‑compact, copying, and generational collection—along with their advantages and drawbacks.

Garbage CollectionGenerational GCJVM
0 likes · 8 min read
How the JVM Determines Object Liveness and Its Garbage Collection Algorithms
Programmer DD
Programmer DD
Nov 3, 2019 · Backend Development

Master Java GC: Understand Memory, Parameters, and Algorithms for Interviews

This article explains Java garbage collection fundamentals, detailing JVM memory layout, key -X and -XX parameters, the mechanisms of object survival, and the main GC algorithms—Mark‑Sweep, Copying, Mark‑Compact, and generational collection—providing clear diagrams and interview‑ready insights.

GC AlgorithmsGarbage CollectionInterview Preparation
0 likes · 9 min read
Master Java GC: Understand Memory, Parameters, and Algorithms for Interviews
Programmer DD
Programmer DD
Nov 2, 2019 · Backend Development

Master JVM Memory Structure: A Deep Dive into Java’s Runtime Architecture

This article explains the Java Virtual Machine’s memory layout, covering the five runtime regions—heap, method area, JVM stacks, native method stacks, and program counter—along with their purposes, thread‑visibility, garbage‑collection behavior, and common pitfalls such as OutOfMemoryError and StackOverflowError.

Garbage CollectionJVMJava
0 likes · 9 min read
Master JVM Memory Structure: A Deep Dive into Java’s Runtime Architecture
FunTester
FunTester
Oct 30, 2019 · Fundamentals

Mastering JVM Memory: Models, GC Algorithms, and Optimization Tips

This article provides a comprehensive overview of the JVM memory model, garbage collection algorithms, various collectors and their trade‑offs, class loading steps, object lifecycle, escape analysis, and practical tuning commands for optimizing Java applications.

GC AlgorithmsGarbage CollectionJVM
0 likes · 14 min read
Mastering JVM Memory: Models, GC Algorithms, and Optimization Tips
Tech Musings
Tech Musings
Oct 25, 2019 · Backend Development

How to Analyze and Tune Java GC Logs for Parallel, G1, and CMS Collectors

This guide explains how to configure JVM options to capture GC logs, use GCViewer to interpret Parallel, G1, and CMS collector logs, decode each log field, and apply concrete tuning parameters to improve pause times and overall application throughput.

GC tuningGarbage CollectionParallelGC
0 likes · 17 min read
How to Analyze and Tune Java GC Logs for Parallel, G1, and CMS Collectors
Tech Musings
Tech Musings
Oct 25, 2019 · Backend Development

Choosing the Right Java Garbage Collector: A Practical Guide for JDK 1.8

This article explains the seven Java garbage collectors available up to JDK 1.8, compares their strengths and weaknesses, and shows how to select and tune the appropriate collector—Serial, Parallel, CMS, or G1—based on application characteristics and deployment environments.

CMSG1Garbage Collection
0 likes · 11 min read
Choosing the Right Java Garbage Collector: A Practical Guide for JDK 1.8
Senior Brother's Insights
Senior Brother's Insights
Oct 18, 2019 · Fundamentals

Unlocking Java: A Deep Dive into JVM Memory Architecture

This article provides a comprehensive introduction to the Java Virtual Machine’s memory architecture, detailing the five runtime areas—Program Counter, JVM Stack, Native Method Stack, Heap, and Method Area—their thread scope, memory allocation, garbage‑collection behavior, and common errors such as OutOfMemoryError and StackOverflowError.

Garbage CollectionJVMJava
0 likes · 9 min read
Unlocking Java: A Deep Dive into JVM Memory Architecture
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 13, 2019 · Backend Development

Practical Guide to Tuning the G1 Garbage Collector in Java

This article shares practical experience tuning Java's G1GC, including required JVM flags, key parameters such as G1NewSizePercent and InitiatingHeapOccupancyPercent, an automated script for systematic parameter adjustment, and tools for log analysis to achieve optimal garbage‑collection performance.

Garbage CollectionJavag1gc
0 likes · 4 min read
Practical Guide to Tuning the G1 Garbage Collector in Java
Architect's Tech Stack
Architect's Tech Stack
Oct 12, 2019 · Backend Development

How to Minimize Long GC Pauses in Java Applications

Long garbage collection pauses can degrade Java application performance and SLA, so this guide outlines seven practical steps—including reducing object allocation rates, increasing young generation size, selecting appropriate GC algorithms, avoiding swap usage, tuning GC threads, managing I/O load, and limiting System.gc() calls—to minimize pause times.

GC optimizationGarbage CollectionJVM
0 likes · 10 min read
How to Minimize Long GC Pauses in Java Applications
Meitu Technology
Meitu Technology
Aug 29, 2019 · Backend Development

Memory Optimization in Long Connection Services: A Three-Year Journey

Over three years, Meitu’s long‑connection service “bifrost,” built in Go with MQTT, cut memory use from 22.3 GB to 5.1 GB for 210 k connections—and about 10 GB for a million—by tuning buffers, reducing allocations, employing memory pools, and replacing a goroutine‑per‑connection model with an epoll‑driven event architecture.

Garbage CollectionGoMQTT
0 likes · 13 min read
Memory Optimization in Long Connection Services: A Three-Year Journey
Ctrip Technology
Ctrip Technology
Aug 28, 2019 · Fundamentals

Java Memory Layout and Garbage Collection Principles

This article provides a comprehensive overview of the JVM runtime memory areas, explains how the JVM determines garbage objects, reviews major GC algorithms and collectors—including the latest ZGC—and offers practical code examples and command‑line instructions for reproducing various OutOfMemoryError scenarios.

G1Garbage CollectionJVM
0 likes · 29 min read
Java Memory Layout and Garbage Collection Principles
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 20, 2019 · Fundamentals

Why Java’s Garbage Collection Matters: Algorithms, Roots, and Memory Management

Java’s garbage collection, a critical yet often overlooked feature, encompasses various algorithms such as reference counting, reachability analysis, mark‑sweep, copying, and generational collection, each with distinct mechanisms, trade‑offs, and impacts on memory regions like Eden, Survivor, and Old spaces.

GC AlgorithmsGarbage CollectionJVM
0 likes · 15 min read
Why Java’s Garbage Collection Matters: Algorithms, Roots, and Memory Management
High Availability Architecture
High Availability Architecture
Aug 13, 2019 · Fundamentals

In‑Depth Study of Go’s Garbage Collection Algorithm and Its Evolution

This article provides a comprehensive analysis of Go’s non‑generational concurrent mark‑and‑sweep garbage collector, tracing its evolution from early stop‑the‑world implementations to the mixed write‑barrier design in Go 1.8, and explains how to interpret GC traces, tune GC parameters, and reduce latency caused by mark‑assist and STW pauses.

Concurrent Mark and SweepGarbage CollectionGo
0 likes · 22 min read
In‑Depth Study of Go’s Garbage Collection Algorithm and Its Evolution
Java Captain
Java Captain
Jul 25, 2019 · Fundamentals

Understanding Automatic Garbage Collection and Generational GC in the JVM

This article explains how Java's automatic garbage collection works, covering the mark‑sweep‑compact phases, the need for generational collection, the structure of the JVM heap (young, old, and permanent generations), and the detailed object promotion process illustrated with diagrams.

Garbage CollectionGenerational GCJVM
0 likes · 7 min read
Understanding Automatic Garbage Collection and Generational GC in the JVM
Architect's Tech Stack
Architect's Tech Stack
Jul 24, 2019 · Backend Development

Understanding the G1 Garbage Collector in Java: Detailed Process and Log Analysis

This article explains the G1 (Garbage‑First) garbage collector introduced in JDK7, its region‑based architecture, key differences from CMS, and the complete GC cycle—including Young GC, concurrent phases, mixed GC, and Full GC—while providing real‑world log examples and performance insights for Java developers.

GC LogsGarbage CollectionJVM
0 likes · 10 min read
Understanding the G1 Garbage Collector in Java: Detailed Process and Log Analysis
Architecture Digest
Architecture Digest
Jul 23, 2019 · Fundamentals

Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics

This article provides a comprehensive overview of core Java concepts for interview preparation, covering object‑oriented programming fundamentals, differences between OOP and procedural programming, detailed explanations of JVM, JDK, JRE, comparisons with C++, string handling, constructors, inheritance, polymorphism, threading, garbage collection, and related code examples.

Garbage CollectionJDKJRE
0 likes · 36 min read
Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics
Java Backend Technology
Java Backend Technology
Jul 13, 2019 · Fundamentals

Why Java’s Garbage Collection Matters: From Roots to Generational Algorithms

This article explains Java garbage collection in depth, covering its definition, historical origins, reference‑counting and reachability algorithms, GC roots, memory regions such as Eden, Survivor and Old, and the main collection strategies like Mark‑Sweep, Copying, Mark‑Compact and Generational collection.

Garbage CollectionGenerational GCJVM
0 likes · 15 min read
Why Java’s Garbage Collection Matters: From Roots to Generational Algorithms
Node Underground
Node Underground
Jul 9, 2019 · Backend Development

Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks

This article explains how Node.js relies on the V8 engine for automatic memory management, details the garbage‑collection mechanisms (Scavenge, Mark‑Sweep, Mark‑Compact), shows practical code for monitoring and forcing GC, illustrates common memory‑leak patterns, and recommends tools for diagnosing and fixing leaks.

Garbage CollectionNode.jsV8
0 likes · 20 min read
Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks
58 Tech
58 Tech
Jun 18, 2019 · Fundamentals

Understanding G1 Garbage Collector: Design, Algorithms, and Tuning Practices

This article explains the design principles, region-based architecture, object allocation strategies, Young and Mixed G1 GC phases, concurrent marking, three‑color marking, and practical tuning parameters for the G1 garbage collector in Java, illustrating concepts with code snippets and diagrams.

Garbage CollectionJVMJava
0 likes · 17 min read
Understanding G1 Garbage Collector: Design, Algorithms, and Tuning Practices
Architect's Tech Stack
Architect's Tech Stack
Jun 15, 2019 · Backend Development

Making Java Applications Run Faster: Performance Tuning Tools and Practices

This article presents a comprehensive guide to Java application performance optimization, covering OS‑level and JVM‑level diagnostics, profiling tools, GC analysis, JVM tuning, application‑code refactoring, and database‑layer adjustments, illustrated with real‑world case studies and code examples.

Database OptimizationGarbage CollectionJVM
0 likes · 20 min read
Making Java Applications Run Faster: Performance Tuning Tools and Practices
Architects' Tech Alliance
Architects' Tech Alliance
Feb 17, 2019 · Operations

Modeling SSD Garbage Collection as a Gambler's Ruin Problem: Probabilistic Analysis and Control Strategies

By drawing analogies between casino gambling and SSD garbage collection, the article uses probability theory, Brownian motion, and stochastic processes to model victim block selection, resource depletion, and I/O bandwidth fluctuations, proposing control strategies that balance performance stability and resource safety.

Garbage CollectionPerformance ModelingSSD
0 likes · 21 min read
Modeling SSD Garbage Collection as a Gambler's Ruin Problem: Probabilistic Analysis and Control Strategies
Programmer DD
Programmer DD
Feb 12, 2019 · Fundamentals

How ZGC Achieves Sub‑10 ms Pauses: A Deep Dive into Java’s Low‑Latency GC

ZGC is a scalable, low‑latency Java garbage collector designed to keep pause times under 10 ms regardless of heap size, supporting up to 4 TB, and leveraging concurrent, region‑based, compacting, NUMA‑aware techniques, colored pointers, and load barriers, with detailed compilation and tuning guidance.

Garbage CollectionJDKJava
0 likes · 8 min read
How ZGC Achieves Sub‑10 ms Pauses: A Deep Dive into Java’s Low‑Latency GC
Programmer DD
Programmer DD
Jan 6, 2019 · Fundamentals

How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Best Practices

This tutorial explains what Java memory leaks are, how they occur through static fields, unclosed resources, improper equals/hashCode, inner classes, finalizers, String interning, and ThreadLocal usage, and provides practical detection methods, profiling tools, and concrete prevention strategies to keep applications performant.

Garbage CollectionJavaProfiling
0 likes · 16 min read
How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Best Practices
Programmer DD
Programmer DD
Dec 24, 2018 · Operations

Mastering Java CMS GC: How It Works, When It Triggers, and Tuning Tips

This comprehensive guide explains the purpose, lifecycle, trade‑offs, common issues, and performance‑tuning strategies of Java's Concurrent Mark‑Sweep (CMS) garbage collector, helping developers understand when it runs and how to configure it for low‑latency applications.

CMSGarbage CollectionJava
0 likes · 15 min read
Mastering Java CMS GC: How It Works, When It Triggers, and Tuning Tips
Programmer DD
Programmer DD
Dec 20, 2018 · Fundamentals

Mastering G1 GC: Why It Exists, How It Works, and Tuning Tips

This article explains the origins, design goals, and detailed mechanisms of Java's G1 garbage collector—including regions, CSet, RSet, SATB, the full collection cycle, common pitfalls, and practical tuning recommendations—to help developers achieve predictable pause times and high throughput.

Garbage CollectionJavag1gc
0 likes · 25 min read
Mastering G1 GC: Why It Exists, How It Works, and Tuning Tips
Java Captain
Java Captain
Dec 17, 2018 · Fundamentals

Understanding Java Heap and Stack Memory with Examples

This article explains the differences between Java heap and stack memory, their advantages and disadvantages, and demonstrates how string objects are stored and shared using code examples that illustrate memory allocation and reference behavior.

Garbage CollectionHeapJava
0 likes · 4 min read
Understanding Java Heap and Stack Memory with Examples
Java Backend Technology
Java Backend Technology
Dec 14, 2018 · Fundamentals

Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive

This article investigates why objects allocated in a Java method are not immediately reclaimed after the method exits, demonstrating through experiments how JVM heap regions, especially the Eden space, influence garbage collection timing, and provides practical steps to control memory and CPU usage by deliberately allocating small and large objects.

Garbage CollectionJVMJava
0 likes · 8 min read
Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive
Programmer DD
Programmer DD
Nov 13, 2018 · Backend Development

How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Fixes

This tutorial explains what Java memory leaks are, why they occur, and how to identify them at runtime, covering common leak sources such as static fields, unclosed resources, faulty equals/hashCode implementations, inner classes, finalize methods, string interning, and ThreadLocal misuse, plus practical prevention techniques and profiling tools.

Garbage CollectionJavaProfiling
0 likes · 15 min read
How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Fixes
Architects' Tech Alliance
Architects' Tech Alliance
Nov 2, 2018 · Industry Insights

Why NVMe SSD Performance Varies and How to Optimize It for Data Centers

NVMe SSD performance can be unpredictable, so this article opens the SSD "black box" to examine hardware, firmware, and workload factors—such as NAND type, multi‑queue design, garbage collection, and I/O patterns—and offers software‑level strategies to maximize flash efficiency in modern data‑center storage systems.

Garbage CollectionIO PatternsNVMe
0 likes · 30 min read
Why NVMe SSD Performance Varies and How to Optimize It for Data Centers
Programmer DD
Programmer DD
Sep 19, 2018 · Backend Development

What’s New in JDK 11? Explore the Latest Java Features and Improvements

This article outlines the Java Community Process’s shift to a six‑month release cadence, explains the Release Candidate stage, and details JDK 11’s most notable enhancements—including ZGC, Epsilon, var extensions, removal of Java EE/CORBA modules, and a revamped HTTP client—providing developers with a concise overview of the new runtime capabilities.

Garbage CollectionHTTP clientJDK 11
0 likes · 6 min read
What’s New in JDK 11? Explore the Latest Java Features and Improvements
Java Architect Essentials
Java Architect Essentials
Aug 15, 2018 · Fundamentals

Java 11 Upcoming Features and Their Differences from Java 9 and 10

The article outlines the scheduled Java 11 release, detailing four major JEP proposals—including local‑variable syntax for lambda parameters, the low‑overhead Epsilon garbage collector, dynamic class‑file constants, and removal of Java EE/CORBA modules—while also discussing the shift to a faster release cycle and long‑term support model.

Garbage CollectionJEPJava11
0 likes · 6 min read
Java 11 Upcoming Features and Their Differences from Java 9 and 10
Programmer DD
Programmer DD
Apr 24, 2018 · Backend Development

Demystifying G1 GC: How Java’s Modern Collector Manages Heap Regions

This article walks through the G1 garbage collector’s heap structure, region‑based allocation, young‑generation collection steps, and the detailed phases of old‑generation collection, providing clear diagrams and practical insights for Java developers.

Garbage CollectionHeap RegionsJava
0 likes · 9 min read
Demystifying G1 GC: How Java’s Modern Collector Manages Heap Regions
21CTO
21CTO
Mar 22, 2018 · Fundamentals

What’s New in Java 10? Top 10 Features You Need to Know

This article reviews Java 10’s major enhancements—including local‑variable type inference, time‑based release cadence, new garbage‑collector interfaces, parallel G1 GC, heap‑allocation on alternative memory devices, repository consolidation, default root certificates, experimental Graal JIT, ThreadLocal handshakes, and removal of the javah tool—highlighting their impact for developers.

Garbage CollectionJDK 10JEP
0 likes · 9 min read
What’s New in Java 10? Top 10 Features You Need to Know
Java Backend Technology
Java Backend Technology
Mar 18, 2018 · Backend Development

Why Does the JVM Use Two Survivor Spaces? Uncover the Memory Management Secrets

This article explains the purpose of Survivor spaces in the JVM young generation, why a single Survivor area is insufficient, how having two Survivor spaces prevents memory fragmentation, and the copy algorithm that keeps one space empty while the other holds contiguous live objects.

Backend DevelopmentGarbage CollectionJava memory management
0 likes · 7 min read
Why Does the JVM Use Two Survivor Spaces? Uncover the Memory Management Secrets
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2018 · Fundamentals

Understanding Java Reference Types and JVM Memory Management

This article explains Java's four reference types, the JVM's memory layout, object lifecycle states, common garbage‑collection algorithms, collector implementations, heap segmentation, class‑loading mechanics, and includes typical interview questions to help developers master memory management in Java.

Garbage CollectionHeapJVM
0 likes · 15 min read
Understanding Java Reference Types and JVM Memory Management
Architect's Tech Stack
Architect's Tech Stack
Mar 8, 2018 · Fundamentals

JDK 10 Release Date, Download Links, and Major New Features

The article explains that JDK 10 was released on March 20 2018, describes how to obtain it via the early‑access program, and details its key innovations such as local‑variable type inference, a clean garbage‑collector interface, G1 parallelization, repository consolidation, and several proposed enhancements.

Garbage CollectionJDK10JEP
0 likes · 11 min read
JDK 10 Release Date, Download Links, and Major New Features
Java Architect Essentials
Java Architect Essentials
Mar 8, 2018 · Fundamentals

Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation

This article explains Java's garbage collection mechanisms, detailing the roles and algorithms of the young generation (copying algorithm), old generation (mark‑sweep and mark‑compact), and permanent generation, along with object promotion criteria, efficiency comparisons, and memory utilization considerations.

AlgorithmsGarbage CollectionJVM
0 likes · 5 min read
Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation
Java Captain
Java Captain
Feb 6, 2018 · Backend Development

Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?

This article investigates whether the JVM garbage collector can reclaim singleton instances that remain unused for extended periods, presenting a test program, analyzing GC logs, and explaining the GC root mechanism that keeps static singleton references alive, concluding that HotSpot 1.6 does not collect such objects.

Garbage CollectionHotSpotJVM
0 likes · 6 min read
Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?
Java Captain
Java Captain
Jan 27, 2018 · Fundamentals

Key Java Interview Questions and Answers (2017 Edition)

This article compiles essential Java interview questions covering topics such as switch statements, equality operators, object methods, reference types, hashCode, string handling, overriding, abstract classes, XML parsing, thread control, memory layout, polymorphism, garbage collection, and collections, providing concise explanations to help job seekers prepare effectively.

CollectionsGarbage CollectionJava
0 likes · 16 min read
Key Java Interview Questions and Answers (2017 Edition)
Java Captain
Java Captain
Jan 3, 2018 · Fundamentals

Overview of Java Garbage Collection and Memory Management

This article provides a comprehensive overview of Java's garbage collection mechanism, memory regions, object access methods, allocation strategies, GC algorithms, and the various collectors used in the HotSpot JVM, helping developers understand and optimize Java memory usage.

GC AlgorithmsGarbage CollectionJVM
0 likes · 22 min read
Overview of Java Garbage Collection and Memory Management
Meituan Technology Team
Meituan Technology Team
Dec 28, 2017 · Backend Development

Java Garbage Collection Optimization Strategies and Case Studies

When all other tuning options fail, this article guides Java developers through a systematic GC optimization process—covering essential concepts, a goal‑oriented workflow, and three real‑world case studies that illustrate adjusting generation sizes, employing CMS flags, and fixing PermGen to dramatically reduce pause times and latency.

Garbage CollectionJVMJava
0 likes · 21 min read
Java Garbage Collection Optimization Strategies and Case Studies
Java Captain
Java Captain
Dec 14, 2017 · Fundamentals

Understanding Java Garbage Collection Mechanisms and Algorithms

Java's garbage collection mechanism, introduced to simplify memory management, employs various algorithms such as reference counting, tracing (mark‑and‑sweep), compacting, copying, and generational collection, each with distinct advantages, drawbacks, and implementation details, while also addressing common memory‑leak pitfalls.

AlgorithmsGarbage CollectionGenerational GC
0 likes · 10 min read
Understanding Java Garbage Collection Mechanisms and Algorithms
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2017 · Fundamentals

Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained

This article introduces Python's object‑oriented programming fundamentals, covering class definitions, class and instance variables, the __init__ constructor, the role of self, inheritance, method overriding, built‑in class attributes, garbage collection, and private members, complemented by illustrative code snippets.

Garbage CollectionInheritanceOOP
0 likes · 9 min read
Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained
21CTO
21CTO
Sep 1, 2017 · Fundamentals

Is Go’s 10ms GC Pause Claim Real? A Deep Dive into GC Theory and Trade‑offs

This article critically examines Go’s advertised sub‑10 ms garbage‑collection pauses, compares its concurrent mark‑sweep collector with Java’s GC algorithms, and explores the fundamental trade‑offs of throughput, pause time, memory overhead, and scalability that shape modern garbage‑collector design.

Garbage CollectionGenerational GCGo
0 likes · 18 min read
Is Go’s 10ms GC Pause Claim Real? A Deep Dive into GC Theory and Trade‑offs
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 1, 2017 · Fundamentals

Understanding Python Garbage Collection and Memory Leaks

This article explains Python's garbage collection mechanisms, demonstrates how reference counting works, shows how to detect and fix memory leaks using the gc module, and illustrates the issue with urllib2 through code examples and visual diagrams.

Garbage CollectionPythongc module
0 likes · 5 min read
Understanding Python Garbage Collection and Memory Leaks
Hujiang Technology
Hujiang Technology
Jul 18, 2017 · Fundamentals

A Crash Course in Memory Management: ArrayBuffer, SharedArrayBuffer, and Manual vs Automatic Management in JavaScript

This article explains the fundamentals of memory management, illustrating why ArrayBuffer and SharedArrayBuffer were added to JavaScript, how automatic garbage collection works, and what manual memory handling with functions like malloc and free entails, especially when using WebAssembly and C.

ArrayBufferGarbage CollectionJavaScript
0 likes · 6 min read
A Crash Course in Memory Management: ArrayBuffer, SharedArrayBuffer, and Manual vs Automatic Management in JavaScript
Architects' Tech Alliance
Architects' Tech Alliance
Jul 14, 2017 · Industry Insights

How a New ‘Non‑Balance’ Wear‑Leveling Algorithm Can Triple SSD Lifespan

The article explains the background of flash‑memory wear‑leveling, reviews common garbage‑collection strategies, compares classic algorithms such as Greedy, Cost‑Benefit, CAT and CICL, and introduces the Non‑Balance method that evaluates real block endurance to extend SSD life up to three times.

Garbage CollectionSSDStorage Optimization
0 likes · 11 min read
How a New ‘Non‑Balance’ Wear‑Leveling Algorithm Can Triple SSD Lifespan
360 Quality & Efficiency
360 Quality & Efficiency
May 8, 2017 · Backend Development

Why and How to Manually Close Java Resource Objects

This article explains why Java developers must manually close resource objects such as streams and database connections, discusses the limitations of garbage collection, and presents best‑practice techniques like finally blocks, try‑with‑resources, and utility libraries for proper resource management.

Backend DevelopmentGarbage CollectionJava
0 likes · 5 min read
Why and How to Manually Close Java Resource Objects
ZhiKe AI
ZhiKe AI
Mar 7, 2017 · Fundamentals

Understanding the JVM: Its Position in the JDK and Four Core Components

This article explains where the JVM resides within the JDK, describes its four main components—ClassLoader, Native Interface, Execution Engine, and Runtime Data Areas—and details memory management, garbage‑collection algorithms, collector types, diagnostic commands, and the Java class‑file structure.

Class FileClass LoaderGarbage Collection
0 likes · 21 min read
Understanding the JVM: Its Position in the JDK and Four Core Components
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 5, 2016 · Backend Development

Why Generational Garbage Collection Boosts JVM Performance

This article explains the rationale behind generational garbage collection in the JVM, describes the Young, Old, and Permanent generations, details Scavenge and Full GC processes, and compares serial, parallel, and concurrent collectors to help developers choose the optimal GC strategy.

Garbage CollectionGenerational GCJVM
0 likes · 11 min read
Why Generational Garbage Collection Boosts JVM Performance
Meituan Technology Team
Meituan Technology Team
Sep 23, 2016 · Fundamentals

Understanding G1 Garbage Collector: Key Concepts, Regions, SATB, RSet, and Pause Prediction Model

The G1 Garbage‑First collector is a server‑side, region‑based Java GC designed for multi‑processor, large‑memory systems that concurrently marks objects using SATB, tracks cross‑region references with RSets, and employs a pause‑prediction model to meet user‑specified pause‑time goals while maintaining high throughput.

Garbage CollectionJVMJava
0 likes · 15 min read
Understanding G1 Garbage Collector: Key Concepts, Regions, SATB, RSet, and Pause Prediction Model
dbaplus Community
dbaplus Community
May 20, 2016 · Databases

Inside TiKV: MVCC Mechanics and Distributed Transaction Design

This article explains how TiKV implements multi-version concurrency control (MVCC) on top of RocksDB and details its two‑phase commit transaction model, including Prewrite and Commit phases, Percolator‑style optimizations, lock handling, conflict resolution, and garbage‑collection strategies.

Distributed TransactionsGarbage CollectionMVCC
0 likes · 14 min read
Inside TiKV: MVCC Mechanics and Distributed Transaction Design

Understanding the G1 (Garbage‑First) Garbage Collector in Java

The article explains the design, operation, and performance characteristics of Java's G1 (Garbage‑First) collector, covering its parallelism, generational approach, space‑efficiency, pause‑time predictability, implementation details, execution phases, benchmark results, and practical recommendations for choosing a collector.

G1Garbage CollectionJVM
0 likes · 16 min read
Understanding the G1 (Garbage‑First) Garbage Collector in Java
DevOps
DevOps
Apr 7, 2016 · Fundamentals

The Story of a Java Class in the JVM

Through a whimsical tale of a class named Account, the article explains Java class loading, the hierarchy of classloaders, bytecode execution, the method area, stack, heap, garbage collection, and debugging, providing an engaging overview of JVM fundamentals.

Garbage CollectionJVMJava
0 likes · 13 min read
The Story of a Java Class in the JVM
21CTO
21CTO
Mar 23, 2016 · Frontend Development

How to Slash Front‑End Lag: Mastering GC, Closures, and Pre‑Fetch Techniques

This article explains how modern front‑end performance challenges—especially JavaScript garbage collection, closure‑induced memory waste, and the need for page pre‑fetching—can be mitigated with techniques like Emscripten‑based memory management and strategic use of dns‑prefetch, pre‑fetch, and pre‑render tags.

EmscriptenGarbage CollectionJavaScript optimization
0 likes · 8 min read
How to Slash Front‑End Lag: Mastering GC, Closures, and Pre‑Fetch Techniques
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Nov 25, 2015 · Backend Development

Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection

This article explains Node.js memory architecture, how the V8 engine allocates and frees memory across code, stack, and heap, demonstrates using process.memoryUsage() to monitor RSS, heapTotal and heapUsed, describes V8’s Scavenge and Mark‑Sweep garbage collectors, and provides practical techniques for detecting and debugging memory leaks with heap snapshots and profiling tools.

DebuggingGarbage CollectionMemory Management
0 likes · 12 min read
Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection
WeChat Client Technology Team
WeChat Client Technology Team
Sep 28, 2015 · Fundamentals

Mastering C# Memory Management and WP Leak Detection Techniques

This article explains C#'s managed and unmanaged resource handling, memory regions, garbage‑collection algorithms, generational GC, finalizers, the IDisposable pattern, value vs. reference types, and practical methods for discovering and pinpointing memory leaks in Windows Phone applications.

CGarbage CollectionIDisposable
0 likes · 16 min read
Mastering C# Memory Management and WP Leak Detection Techniques
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2015 · Fundamentals

Unlocking Java Memory: How Garbage Collection Works and Why It Matters

This article explores Java's garbage collection mechanisms, detailing why memory reclamation is essential, the design considerations, various algorithms such as mark‑sweep, copy, and compact, the roles of different collectors like Serial, Parallel, CMS, and G1, and how they impact performance.

GC AlgorithmsGarbage CollectionJVM
0 likes · 8 min read
Unlocking Java Memory: How Garbage Collection Works and Why It Matters
Qunar Tech Salon
Qunar Tech Salon
Jan 8, 2015 · Fundamentals

Understanding JVM Performance Limits and Tuning Strategies

The article examines the inherent scalability constraints of the JVM, explains how memory walls and pause times affect enterprise Java applications, and presents practical tuning parameters and architectural considerations to mitigate performance bottlenecks in production environments.

Garbage CollectionJVMJava
0 likes · 18 min read
Understanding JVM Performance Limits and Tuning Strategies
Qunar Tech Salon
Qunar Tech Salon
Jan 7, 2015 · Fundamentals

Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications

This article explains the design, phases, and practical implications of the C4 concurrent continuously compacting garbage collector, comparing it with G1 and IBM's Balanced GC, and provides guidance on when to choose C4 for enterprise Java workloads requiring low pause times and high scalability.

C4Garbage CollectionJVM
0 likes · 21 min read
Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications
Qunar Tech Salon
Qunar Tech Salon
Jan 6, 2015 · Backend Development

JVM Performance Optimization Part 3 – Garbage Collection

This article explains Java's memory model and garbage collection mechanisms, covering reference counting, tracing collectors, copying and mark‑sweep algorithms, parallel and concurrent collectors, generational GC, and compression techniques, while discussing their trade‑offs, tuning considerations, and impact on application performance.

GC AlgorithmsGarbage CollectionJVM
0 likes · 25 min read
JVM Performance Optimization Part 3 – Garbage Collection
Qunar Tech Salon
Qunar Tech Salon
Jan 3, 2015 · Fundamentals

Introduction to the Java Virtual Machine: Architecture, Garbage Collection, and Performance

This article provides a comprehensive overview of the Java Virtual Machine, explaining its role in enabling "write once, run anywhere," detailing the compilation process, JIT optimization, memory allocation strategies such as TLAB, various garbage‑collection algorithms, and how these factors impact Java application performance and scalability.

Garbage CollectionJITJVM
0 likes · 19 min read
Introduction to the Java Virtual Machine: Architecture, Garbage Collection, and Performance
MaGe Linux Operations
MaGe Linux Operations
Dec 15, 2014 · Fundamentals

Mastering JVM Garbage Collectors: Which One Fits Your Application?

This article explains the main JVM garbage collectors—including Serial, ParNew, Parallel Scavenge, Serial Old, Parallel Old, CMS, and G1—detailing their algorithms, use cases, advantages, and configuration options, and provides visual diagrams and parameter tables for clear understanding.

Garbage CollectionJVMJava
0 likes · 8 min read
Mastering JVM Garbage Collectors: Which One Fits Your Application?
Qunar Tech Salon
Qunar Tech Salon
Nov 10, 2014 · Fundamentals

Introduction to Java Memory Allocation and Garbage Collection

This tutorial introduces Java's automatic memory allocation and garbage collection managed by the JVM, explains key terminology such as JDK, JVM, JRE, outlines the JVM architecture and heap memory structure—including young, old, and permanent generations—providing essential fundamentals for understanding Java GC.

Garbage CollectionJVMJava
0 likes · 6 min read
Introduction to Java Memory Allocation and Garbage Collection
Baidu Tech Salon
Baidu Tech Salon
Aug 14, 2014 · Fundamentals

Static vs Dynamic Languages, Functional Programming, Garbage Collection, and Recommended Programming Languages for the Future

The article compares static and dynamic typing, functional programming, garbage collection, and virtual machines, then advises developers to focus on versatile, future‑proof languages such as JavaScript/HTML5/CSS3, C#, Java, PHP, Swift, and optionally Erlang, emphasizing deep mastery over fleeting trends.

Garbage Collectionfunctional programminglanguage selection
0 likes · 14 min read
Static vs Dynamic Languages, Functional Programming, Garbage Collection, and Recommended Programming Languages for the Future