Menu

#Heap

56 posts

Feed·
20 of 56 posts
Why Linear Frame Allocators Eliminate Heap Fragmentation in High-Throughput C++ Services
📰
0Read More

Why Linear Frame Allocators Eliminate Heap Fragmentation in High-Throughput C++ Services

DEV Community: cpp·Delight Uche·3 days ago
#izYM7Gxl
#devtocpp#devto#dev#include#arena

Every time a high-throughput backend service, query engine, or real-time simulation calls new or...

15s
tracemalloc said 9.5 KB. macOS said 142 KB: why Python and Ruby profilers miss C heap?
📰
0Read More

tracemalloc said 9.5 KB. macOS said 142 KB: why Python and Ruby profilers miss C heap?

DEV Community: ruby·Frank Liao·3 days ago
#DFtR4o0I
#devtoruby#devto#dev#include#ruby

tracemalloc.get_traced_memory() reported 9,457 B per compiled 500-item $in rule on Python 3.14.5....

15s
Isolate JavaScript Subsystems on Dedicated Workers with Shared Data, Fault Recovery, and Permission Boundaries
📰
0Read More

Isolate JavaScript Subsystems on Dedicated Workers with Shared Data, Fault Recovery, and Permission Boundaries

DEV Community: javascript·Pavel Kostromin·9 days ago
#sBUteJKK
#devtojavascript#devto#dev#worker#thread

The Single-Thread Bottleneck and Five Failure Scenarios Put layout, paint, input dispatch,...

15s
300 fuzzer crashes, three real bugs: a triage checklist
📰
0Read More

300 fuzzer crashes, three real bugs: a triage checklist

DEV Community: cpp·Rocky·11 days ago
#3yrTQasM
#devtocpp#devto#dev#crash#write

Picture a fuzzer that has run overnight against a file parser. The output folder holds 300 crash...

15s
Signal #140: Gemini Schema Loading, the Ruby Heap Overflow, and PostgreSQL 19
📰
0Read More

Signal #140: Gemini Schema Loading, the Ruby Heap Overflow, and PostgreSQL 19

DEV Community: ruby·The Dev Signal·12 days ago
#Z18cZRMG
#devtoruby#devto#dev#tool#model

This week's cards split into two buckets: infrastructure you can plan around (PostgreSQL 19's online...

15s
ZGC vs G1: Trading CPU for Pause-Free Memory Reclamation
📰
0Read More

ZGC vs G1: Trading CPU for Pause-Free Memory Reclamation

DEV Community: java·gxqwb·14 days ago
#aKLPJrgm
#devtojava#devto#dev#heap#pause

G1 caps pauses by collecting young regions incrementally; ZGC moves objects concurrently and keeps pauses flat even at multi-terabyte heaps — at a CPU and memory tax.

15s
PostgreSQL 19 REPACK: A Complete Guide to Reclaiming Table Bloat
🖼️
0Read More

PostgreSQL 19 REPACK: A Complete Guide to Reclaiming Table Bloat

DEV Community: postgres·Kamal G·15 days ago
#FWHLJaRW
#devtopostgresql#devto#dev#repack#table

Darshan Turakhia reported that a high-traffic notifications table accumulated 11.2 million dead rows....

15s
We autoscaled our Java pricing service on memory and it grew to twenty pods and stayed there
📰
0Read More

We autoscaled our Java pricing service on memory and it grew to twenty pods and stayed there

DEV Community: java·Sergey Shinder·20 days ago
#GJP74DIN
#devtojava#devto#dev#memory#heap

Our quote pricing service is a Spring Boot application on Kubernetes. In August we gave it a...

15s
I Sorted Two Million Rows to Keep Ten
📰
0Read More

I Sorted Two Million Rows to Keep Ten

DEV Community: dotnet·Sukhpinder Singh·21 days ago
#TnKDo3AG
#devtodotnet#devto#dev#heap#rows

A leaderboard endpoint that returns ten rows was allocating 56 MB to do it. A bounded PriorityQueue min-heap took it to 568 bytes, with real best-of-five numbers.

15s
0Read More

Spring Boot in a 512 MB container: JVM flags, a layered image, and honest start-up numbers

DEV Community: java·SnapDeploy·22 days ago
#wa9bTwlh
#devtojava#devto#dev#boot#container
Long article (1214 words) — no AI summary yet.

TL;DR: By default the JVM takes only a quarter of a container's memory limit for the heap, and a small Boot app can take half a minute to start on a quarter of a CPU.…

15s
MaxRAMPercentage vs Xmx: Sizing Java Heap in Containers
📰
0Read More

MaxRAMPercentage vs Xmx: Sizing Java Heap in Containers

DEV Community: java·kkkevin·23 days ago
#2m6cS3xr
#devtojava#devto#dev#heap#memory

MaxRAMPercentage vs Xmx in Kubernetes: how the JVM sizes its heap, which flag to pick, and how to calculate the percentage from your pod limit.

15s
Why a Java pod gets OOMKilled with a half-empty heap: the memory budget, and three JVM container defaults that are easy to get wrong
📰
0Read More

Why a Java pod gets OOMKilled with a half-empty heap: the memory budget, and three JVM container defaults that are easy to get wrong

#kubernetes#redditkubernetes#limit#heap#wrong

Author here. Short version: the container limit covers the whole JVM, not just the heap, so -Xmx close to the limit leaves no room for metaspace, thread stacks, code cache and direct buffers.…

15s
Replacing Standard Go JSON with Low-Allocation Alternatives to Overcome Performance Bottlenecks in Large-Scale Systems
📰
0Read More

Replacing Standard Go JSON with Low-Allocation Alternatives to Overcome Performance Bottlenecks in Large-Scale Systems

DEV Community: go·Viktor Logvinov·24 days ago
#3qHnvL5e
#devtogo#devto#dev#memory#buffer

The Performance Wall: Why encoding/json Stalls High-Throughput Pipelines When data...

15s