Menu

#Heap

41 posts

Feed·
20 of 41 posts
I Sorted Two Million Rows to Keep Ten
📰
0Read More

I Sorted Two Million Rows to Keep Ten

DEV Community: dotnet·Sukhpinder Singh·1 day 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·1 day ago
#wa9bTwlh
#devtojava#devto#dev#boot#container

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·3 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·4 days ago
#3qHnvL5e
#devtogo#devto#dev#memory#buffer

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

15s
Why a Java pod gets OOMKilled in Kubernetes with a half-empty heap
📰
0Read More

Why a Java pod gets OOMKilled in Kubernetes with a half-empty heap

DEV Community: java·Andrii·6 days ago
#fXhc18Nq
#devtojava#devto#dev#heap#limit

In short. A container memory limit covers everything the JVM uses, and the heap is only part of it....

15s
Why Kubernetes 1.35 resizePolicy: RestartContainer Isn't Required for ZGC/Shenandoah
📰
0Read More

Why Kubernetes 1.35 resizePolicy: RestartContainer Isn't Required for ZGC/Shenandoah

DEV Community: java·BaoKhang·7 days ago
#eNs1LtqU
#devtojava#devto#dev#memory#limit

Why Kubernetes 1.35 resizePolicy: RestartContainer Isn't Required for ZGC/Shenandoah A lot...

15s
After upgrading from Java 8, G1 stopped returning memory
📰
0Read More

After upgrading from Java 8, G1 stopped returning memory

DEV Community: docker·Kazu·9 days ago
#b1T7yymS
#devtodocker#devto#dev#java#heap

When you move from Java 8 to any of Java 11 through 25, the GC the JVM picks when you don't specify...

15s
How much RAM does a Java application really need? Sizing a small server
📰
0Read More

How much RAM does a Java application really need? Sizing a small server

DEV Community: java·Boban C.·17 days ago
#DF7ZBhc9
#devtojava#devto#dev#heap#server

When people size a Java server they look at -Xmx. That sets the maximum heap, where your objects...

15s
Streamlining Resource Binding with End-to-End Support for Vulkan Descriptor Heaps
🖼️
0Read More

Streamlining Resource Binding with End-to-End Support for Vulkan Descriptor Heaps

NVIDIA Technical Blog·Tanya Lenz·22 days ago
#lCoHSjsw
#developer#descriptor#heap#binding#shader

Shaders are GPU programs that process visual data—such as rays, pixels, geometry, and textures—to produce specific rendering effects.

15s
21 Zero-Days in FFmpeg | depthfirst
📰
279Read More

21 Zero-Days in FFmpeg | depthfirst

Hacker News·5 months ago
#WFMu75cF
#depthfirst#buffer#overflow#heap#byte

depthfirst's production autonomous security agent discovered 21 zero-day vulnerabilities in FFmpeg, after intensive security analysis by Google and Anthropic.…

15s
GIN: Understanding PostgreSQL's Inverted Index and Its Limitations
🖼️
0Read More

GIN: Understanding PostgreSQL's Inverted Index and Its Limitations

DEV Community·Franck Pachot·5 months ago
#xmKQnx7E
#dev#time#index#rows#heap

This series of posts traces the evolution from GIN to RUM to Extended RUM, showing how a single...

15s
The Day Veltrix Blew Up at 100k Concurrent Users Because We Didnt Understand Its Garbage Collector
🖼️
0Read More

The Day Veltrix Blew Up at 100k Concurrent Users Because We Didnt Understand Its Garbage Collector

DEV Community: rust·pretty ncube·6 months ago
#g5AbqUNA
#dev#latency#live#heap#pause

It was 3:17 AM when the pager screamed. Our Rust-based treasure-hunt matchmaking service had been...

15s
Why your Node.js memory keeps climbing in production (and how to find the leak)
🖼️
0Read More

Why your Node.js memory keeps climbing in production (and how to find the leak)

DEV Community·Alan West·6 months ago
#pZuSp0BB
#node#debugging#performance#memory#leak

A practical guide to diagnosing and fixing memory leaks in Node.js production services using heap snapshots, with concrete code examples.

15s
CVE-2026-42945: CVE-2026-42945: Heap-based Buffer Overflow in NGINX ngx_http_rewrite_module
🖼️
0Read More

CVE-2026-42945: CVE-2026-42945: Heap-based Buffer Overflow in NGINX ngx_http_rewrite_module

DEV Community·CVE Reports·6 months ago
#R0f8HnVs
#exploit#security#cve#cybersecurity#nginx

From Dev.to - security: CVE-2026-42945: CVE-2026-42945: Heap-based Buffer Overflow in NGINX ngx_http_rewrite_module

15s