# Memory Leak

Published articles for Memory Leak.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Mesa 26.2.3 Released With AMD GFX1171 Support, Other Fixes

DevFeed: [Mesa 26.2.3 Released With AMD GFX1171 Support, Other Fixes](<https://devfeed.tech/articles/mesa-26-2-3-released-with-amd-gfx1171-support-other-fixes-34946.md>)

Original publisher: [Read original article](<https://www.phoronix.com/news/Mesa-26.2.3-Released>)

Author: Michael Larabel

Published: 2026-09-16T21:18:50Z

Content type: news

Language: en

Sources: [Phoronix](<https://devfeed.tech/sources/phoronix.md>)

Topics: [GPU](<https://devfeed.tech/topics/gpu.md>), [patches](<https://devfeed.tech/topics/patches.md>), [Adreno](<https://devfeed.tech/topics/adreno.md>), [intel](<https://devfeed.tech/topics/intel.md>), [Qualcomm](<https://devfeed.tech/topics/qualcomm.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Flight](<https://devfeed.tech/topics/flight.md>)

Tags: [adreno](<https://devfeed.tech/tags/adreno.md>), [amd](<https://devfeed.tech/tags/amd.md>), [browser](<https://devfeed.tech/tags/browser.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [desktop-linux](<https://devfeed.tech/tags/desktop-linux.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [intel](<https://devfeed.tech/tags/intel.md>), [linux-benchmarking](<https://devfeed.tech/tags/linux-benchmarking.md>), [linux-hardware-benchmarks](<https://devfeed.tech/tags/linux-hardware-benchmarks.md>), [linux-hardware-reviews](<https://devfeed.tech/tags/linux-hardware-reviews.md>), [linux-how-to](<https://devfeed.tech/tags/linux-how-to.md>), [linux-performance](<https://devfeed.tech/tags/linux-performance.md>), [linux-server-benchmarks](<https://devfeed.tech/tags/linux-server-benchmarks.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [open-source-graphics](<https://devfeed.tech/tags/open-source-graphics.md>), [patches](<https://devfeed.tech/tags/patches.md>), [phoronix](<https://devfeed.tech/tags/phoronix.md>), [phoronix-test-suite](<https://devfeed.tech/tags/phoronix-test-suite.md>), [qualcomm](<https://devfeed.tech/tags/qualcomm.md>), [release](<https://devfeed.tech/tags/release.md>), [stable](<https://devfeed.tech/tags/stable.md>), [ubuntu-benchmarks](<https://devfeed.tech/tags/ubuntu-benchmarks.md>), [ubuntu-hardware](<https://devfeed.tech/tags/ubuntu-hardware.md>), [vulkan](<https://devfeed.tech/tags/vulkan.md>)

### AI overview

Mesa 26.2.3 is a stable bi-weekly point release containing backported bug fixes for RadeonSI, RADV, Freedreno, Turnip, Intel ANV, Asahi, NVK, and other drivers. It also adds AMD GFX1171 support.

### Source excerpt

Mesa 26.2.3 is out today as the newest stable point release in this quarter's Mesa 26.2 series...

## September 2026 Security Updates #1 for XCP-ng 8.3 LTS

DevFeed: [September 2026 Security Updates #1 for XCP-ng 8.3 LTS](<https://devfeed.tech/articles/september-2026-security-updates-1-for-xcp-ng-8-3-lts-12827.md>)

Original publisher: [Read original article](<https://xcp-ng.org/blog/2026/09/08/september-2026-security-updates-1-for-xcp-ng-8-3-lts/>)

Author: David Morel

Published: 2026-09-08T14:07:29Z

Content type: article

Language: en

Sources: [XCP-ng Blog](<https://devfeed.tech/sources/xcp-ng-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [DDoS](<https://devfeed.tech/topics/ddos.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cve](<https://devfeed.tech/tags/cve.md>), [lts](<https://devfeed.tech/tags/lts.md>), [maintenance-updates](<https://devfeed.tech/tags/maintenance-updates.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [release](<https://devfeed.tech/tags/release.md>), [security](<https://devfeed.tech/tags/security.md>), [september-2026](<https://devfeed.tech/tags/september-2026.md>), [updates](<https://devfeed.tech/tags/updates.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

This article announces September 2026 security updates for XCP-ng 8.3 LTS. The fixes address vulnerabilities in Xen, oxenstored, and Tapdisk, including memory leaks, denial-of-service conditions, and out-of-bounds accesses that could allow code execution with administrator privileges in dom0. One Xen issue does not affect supported XCP-ng 8.3 LTS installations and is deferred for defense in depth.

### Source excerpt

New security and maintenance updates are available for XCP-ng 8.3 LTS. This includes update to Xen, oxenstored and blktap.

## Investigating a Suspected Memory Leak in JetBrains Jewel with JVM Heap Analysis

DevFeed: [Investigating a Suspected Memory Leak in JetBrains Jewel with JVM Heap Analysis](<https://devfeed.tech/articles/the-one-liner-that-was-eating-our-memory-daniel-bertoldi-38330.md>)

Original publisher: [Read original article](<https://touchlab.co/the-one-liner-that-was-eating-our-memory>)

Published: 2026-07-28T18:00:00Z

Content type: article

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Compose](<https://devfeed.tech/topics/compose.md>), [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [jetbrains](<https://devfeed.tech/topics/jetbrains.md>), [ide](<https://devfeed.tech/topics/ide.md>)

Tags: [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [dump](<https://devfeed.tech/tags/dump.md>), [eclipse](<https://devfeed.tech/tags/eclipse.md>), [heap](<https://devfeed.tech/tags/heap.md>), [jetbrains](<https://devfeed.tech/tags/jetbrains.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>)

### AI overview

The article investigates a suspected memory leak in the JetBrains Jewel project, a Compose Multiplatform library targeting desktop applications. It explains using JVM-specific tools, including heap dumps and Eclipse Memory Analyzer Tool, to examine retained heap and identify possible memory-retention issues.

### Source excerpt

A kinda-brief tale about a memory leak, a heap dump, and a one-line fix.

## Android Studio Quail 2 is Stable: Multi-task with the Android Studio AI agent

DevFeed: [Android Studio Quail 2 is Stable: Multi-task with the Android Studio AI agent](<https://devfeed.tech/articles/android-studio-quail-2-is-stable-multi-task-with-the-android-studio-ai-agent-22677.md>)

Original publisher: [Read original article](<http://android-developers.googleblog.com/2026/06/android-studio-quail-2-stable-features.html>)

Author: Android Developers (noreply@blogger.com)

Published: 2026-07-14T11:00:00Z

Content type: release

Language: en

Sources: [Android Developers Blog](<https://devfeed.tech/sources/android-developers-blog-3.md>)

Topics: [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [debug](<https://devfeed.tech/topics/debug.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [profiling](<https://devfeed.tech/tags/profiling.md>)

### AI overview

Android Studio Quail 2 is presented as a stable release with parallel Agent Mode chats, concurrent agentic workflows, native LeakCanary integration in the Profiler, and Agent Mode integration with App Quality Insights for crash analysis.

### Source excerpt

Posted by Amman Asfaw, Product Manager, Android Studio Android Studio Quail 2 is now stable and ready for you to use in production, bringing a shift to your IDE with concurrent agentic workflows, natively integrated memory leak profiling, and context-aware crash remediation. Whether you are performing a sweeping architectural overhaul, tracing a memory leak, or resolving a critical production crash, Android Studio keeps you anchored in your workspace by reducing manual friction. Here's a deep dive into what's new: Multi-tasking with parallel chats In Android Studio Quail 2, we've been hard at work redesigning Agent Mode from the ground up. This new architecture provides better performance, offers more flexibility for decomposing complex tasks, and improves the suite of internal tools the agent uses to do its work. In addition to these behind-the-scenes improvements, these changes also allow you to converse across multiple agent chats simultaneously. Waiting for the Android Studio agent to finish a task before you can ask another question or initiate a separate task in Agent Mode is a bottleneck of the past. You can multi-task seamlessly: kick off a UI refactor in one tab, fix a ProGuard rule in a second, and generate documentation in a third. You can also change which models the agent uses from chat to chat based on the requests you have. Take a look at Android Bench for an analysis of how LLMs perform Android development tasks. How to use: Click the "+" icon to start a new parallel conversation, and use the History icon to navigate between active tasks. Alternatively, select File > New > New Agent Tab to open a conversation in a dedicated tab. Note: Worktree support is currently unavailable. Exercise caution when running concurrent chats that modify the same project files, which can potentially lead to editor conflicts. Run multiple agent tasks in parallel with different models of your choice. Use the History icon to navigate between active tasks. Memory leak detec

## A 10 GB Memory Leak Killed My Bluetooth Trackpad: bluetoothd -experimental on Ubuntu

DevFeed: [A 10 GB Memory Leak Killed My Bluetooth Trackpad: bluetoothd -experimental on Ubuntu](<https://devfeed.tech/articles/a-10-gb-memory-leak-killed-my-bluetooth-trackpad-bluetoothd-experimental-on-ubuntu-25168.md>)

Original publisher: [Read original article](<https://www.ivanmorgillo.com/2026/05/27/bluetoothd-memory-leak-experimental-flag-ubuntu/>)

Author: Ivan Morgillo

Published: 2026-05-27T10:09:00Z

Content type: tutorial

Language: en

Sources: [Ivan Morgillo](<https://devfeed.tech/sources/ivan-morgillo.md>)

Topics: [Bluetooth](<https://devfeed.tech/topics/bluetooth.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Processes](<https://devfeed.tech/topics/processes.md>)

Tags: [apple-magic-trackpad](<https://devfeed.tech/tags/apple-magic-trackpad.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [process](<https://devfeed.tech/tags/process.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

The article investigates a bluetoothd memory leak on Ubuntu 25.10 associated with the -experimental flag. It describes a Bluetooth trackpad failure after three days of uptime, reports bluetoothd using 10.3 GB of RAM, and presents diagnostic commands and a one-line fix.

### Source excerpt

How a runaway bluetoothd process -- silently leaking memory for three days under the -experimental flag -- quietly killed my Apple Magic Trackpad on Ubuntu 25.10, what the symptoms looked like, and the one-line fix that brought everything back.

## Haiku Activity & Contract Report, April 2026

DevFeed: [Haiku Activity & Contract Report, April 2026](<https://devfeed.tech/articles/haiku-activity-contract-report-april-2026-34784.md>)

Original publisher: [Read original article](<https://www.haiku-os.org/blog/waddlesplash/2026-05-11-haiku_activity_contract_report_april_2026/>)

Author: waddlesplash

Published: 2026-05-12T03:30:00Z

Content type: article

Language: en

Sources: [Haiku Project](<https://devfeed.tech/sources/haiku-project.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [JSON Schema](<https://devfeed.tech/topics/json-schema.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [activity-report](<https://devfeed.tech/tags/activity-report.md>), [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [contractor](<https://devfeed.tech/tags/contractor.md>), [json-schema](<https://devfeed.tech/tags/json-schema.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [report](<https://devfeed.tech/tags/report.md>)

### AI overview

Haiku's April 2026 activity and contract report covers revisions hrev59570 through hrev59671, documenting performance improvements, bug fixes, memory-leak fixes, JSON Schema code-generation work, and command-line tool changes.

### Source excerpt

This report covers hrev59570 through hrev59671. GSoC selection happened at the end of last month; you can read the news post announcing this year's selectees. Thanks to everyone who applied! Applications phoudoin disabled some redundant filetype checking in TextSearch, improving performance a bit. nipos dropped some obsolete code from WebPositive's tab bar. jscipione continued his work on Tracker, removing redundant code, fixing problems with Copy/Paste, the Trash icon, and much more. waddlesplash came by and made a few fixes too, including one to avoid a lot of unnecessary node monitoring syscalls. aquamatic123 did some cleanups to the Devices internals, solving another TODO. He also tracked down and fixed a memory leak. apl refactored the JSON schema code generation system in HaikuDepot, to prepare for potential use with REST APIs (among other reasons.) He also fixed the "Featured" tab displaying as disabled incorrectly in some circumstances (which also entailed fixing a bug in BTabView), and reworked how the package view data is updated. humdinger removed some unnecessary spacing in the Appearance preferences. jscipione made the message body text colors in Mail automatically update when the system colors change. nathan242 fixed a crash in SoftwareUpdater when trying to quit while a download was running. waddlesplash implemented automatic cleanup of the "admin" directory in it, meaning that older states will now automatically be deleted to free up space (unless the setting is disabled.) jscipione cleaned up some code and added some missing functions to DeskCalc's math backend. Command line tools waddlesplash improved the (not yet ready for general use) ltrace implementation, fixing a number of TODOs and inefficiencies. However, it's still not ready for general consumption, as it causes problems and crashes when it traces calls. waddlesplash split the "clean up admin directory" functionality of pkgman into a separate subcommand (pkgman cleanup), and changed install

## Hunting iOS Memory Leaks: S1E1

DevFeed: [Hunting iOS Memory Leaks: S1E1](<https://devfeed.tech/articles/hunting-ios-memory-leaks-s1e1-28534.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/hunting-ios-memory-leaks-s1e1/>)

Author: Amanjeet Singh Gurtatta

Published: 2026-05-09T09:43:49Z

Content type: article

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [test](<https://devfeed.tech/topics/test.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [ios](<https://devfeed.tech/tags/ios.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [traces](<https://devfeed.tech/tags/traces.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>)

### AI overview

The first edition of Hunting Memory Leaks describes development of XCTestLeaks, a tool that runs unit test schemes, checks for retain cycles with leaks(1), and produces HTML leak reports. The author reports fixing two memory leaks in Firefox-iOS-related code and outlines a workflow using project-specific GitHub Actions, Claude Code, and optional upstream issues or pull requests.

### Source excerpt

Welcome to the first edition of Hunting Memory Leaks. Another wild week, mostly battling with XCTestLeaks, the tool I've been building on the side. I'll release it once I'm confident the workflow holds up across at least 5 repos. For context, I've

## Quality Week - December 2025

DevFeed: [Quality Week - December 2025](<https://devfeed.tech/articles/quality-week-december-2025-13527.md>)

Original publisher: [Read original article](<https://zed.dev/blog/quality-week-december-2025>)

Author: Katie Geer, Joseph Lyons

Published: 2026-01-09T00:00:00Z

Content type: article

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [Optimization](<https://devfeed.tech/topics/optimization.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [Git](<https://devfeed.tech/topics/git.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [pull-requests](<https://devfeed.tech/topics/pull-requests.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Tree-sitter](<https://devfeed.tech/topics/tree-sitter.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [git](<https://devfeed.tech/tags/git.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [macos](<https://devfeed.tech/tags/macos.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [speed](<https://devfeed.tech/tags/speed.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

Zed's December 2025 Quality Week focused on bug fixes, performance improvements, and small quality-of-life features. The team closed 64 issues and merged 169 pull requests, including changes to Markdown editing, GPU rendering on macOS, terminal scrolling, large-file performance, agent-panel model selection, and memory leaks.

### Source excerpt

A look at what the Zed team and community accomplished during our December 2025 Quality Week, focusing on stability, performance, and polish.

## Discovering iOS Memory Leaks IV: Detecting via Unit Tests

DevFeed: [Discovering iOS Memory Leaks IV: Detecting via Unit Tests](<https://devfeed.tech/articles/discovering-ios-memory-leaks-iv-detecting-via-unit-tests-28531.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/discovering-ios-memory-leaks-iv-detecting-via-unit-tests/>)

Author: Amanjeet Singh Gurtatta

Published: 2026-01-07T01:46:06Z

Content type: tutorial

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [unit tests](<https://devfeed.tech/topics/unit-tests.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [macOS](<https://devfeed.tech/topics/macos.md>)

Tags: [ios](<https://devfeed.tech/tags/ios.md>), [macos](<https://devfeed.tech/tags/macos.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

This article explores detecting real iOS memory leaks with unit tests instead of UI tests. It describes running the macOS leaks tool against the Firefox process during unit-test teardown in the iOS simulator to shorten the feedback cycle and broaden coverage.

### Source excerpt

Using unit tests and macOS leaks tool to catch real iOS memory leaks.

## Blog: Introducing Falco 0.42.0

DevFeed: [Blog: Introducing Falco 0.42.0](<https://devfeed.tech/articles/blog-introducing-falco-0-42-0-32492.md>)

Original publisher: [Read original article](<https://falco.org/blog/falco-0-42-0/>)

Published: 2025-10-22T00:00:00Z

Content type: release

Language: en

Sources: [Falco - Falco](<https://devfeed.tech/sources/falco-falco.md>), [Falco - The Falco blog](<https://devfeed.tech/sources/falco-the-falco-blog.md>)

Topics: [Falco](<https://devfeed.tech/topics/falco.md>), [container](<https://devfeed.tech/topics/container.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [static linking](<https://devfeed.tech/topics/static-linking.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [dry-run](<https://devfeed.tech/tags/dry-run.md>), [falco](<https://devfeed.tech/tags/falco.md>), [features](<https://devfeed.tech/tags/features.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [performance](<https://devfeed.tech/tags/performance.md>), [recording](<https://devfeed.tech/tags/recording.md>), [release](<https://devfeed.tech/tags/release.md>), [static-linking](<https://devfeed.tech/tags/static-linking.md>)

### AI overview

Falco 0.42.0 introduces a capture recording feature that generates .scap files when detection rules trigger, including system-call traces for forensic analysis. The release also includes performance improvements, schema validation, configuration changes, and bug fixes.

### Source excerpt

Dear Falco Community, today we are happy to announce the release of Falco 0.42.0! This release brings exciting new capabilities, including the capture feature, significant performance improvements, and important bug fixes that enhance Falco's capabilities. During this release cycle, we merged: 52 PRs on Falco, including 23 release note-worthy changes 110 PRs on Falco libs, including 47 release note-worthy changes 102 PRs on Falco drivers, including 29 release note-worthy changes We upgraded libs to version 0.22.1 and drivers to v9.0.0+driver. Thank you to our maintainers and contributors. This would not have been possible without your support and dedication! To learn everything about the changes, read on! What's new? TL;DR Key features: Capture recording feature; Drop enter initiative for performance; Plugin event schema validation; Thread table auto-purging configuration; Static fields; Key fixes: Fix thread table memory leak when parsing vfork (or equivalent clone/clone3 with CLONE_VFORK) exit from the caller process; Enable handling of multiple actions configured with syscall_event_drops.actions; Disable dry-run restarts when Falco runs with config-watching disabled; Fix abseil-cpp for Alpine build; Fix detection sandbox containers for CRI and containerd runtimes (container plugin); Stability improvements for container plugin and static linking of libgcc/libstdc++ for legacy compatibility; This release also comes with breaking changes that you should be aware of before upgrading. Major features and improvements The 0.42.0 release contains a new capture feature and significant performance improvements. Here is a list of the key new capabilities. Capture recording feature Falco 0.42.0 introduces the new capture recording feature, now available at sandbox maturity. This capability allows Falco to generate .scap files whenever a detection rule is triggered automatically. Each capture contains a detailed trace of system calls around the event, providing forensic-level

## Discovering iOS memory leaks III: Automating with Github Action

DevFeed: [Discovering iOS memory leaks III: Automating with Github Action](<https://devfeed.tech/articles/discovering-ios-memory-leaks-iii-automating-with-github-action-28532.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/discovering-ios-memory-leaks-part-three/>)

Author: Amanjeet Singh Gurtatta

Published: 2024-12-01T10:28:06Z

Content type: tutorial

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [test](<https://devfeed.tech/topics/test.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [ios](<https://devfeed.tech/tags/ios.md>), [macos](<https://devfeed.tech/tags/macos.md>), [maestro](<https://devfeed.tech/tags/maestro.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [process](<https://devfeed.tech/tags/process.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [xcode](<https://devfeed.tech/tags/xcode.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

This third article in a series explains how to automate iOS memory-leak detection in a CI pipeline using GitHub Actions. It covers setting up a macOS runner, building and installing Firefox iOS, launching the app and running a Maestro test, invoking the leaks command, uploading reports, and using a baseline to distinguish known leaks from newly introduced ones.

### Source excerpt

Automating Leak Detection with Github Action

## Docusaurus 3.6

DevFeed: [Docusaurus 3.6](<https://devfeed.tech/articles/docusaurus-3-6-40947.md>)

Original publisher: [Read original article](<https://docusaurus.io/blog/releases/3.6>)

Author: Sébastien Lorber

Published: 2024-11-04T00:00:00Z

Content type: release

Language: en

Sources: [Docusaurus Blog](<https://devfeed.tech/sources/docusaurus-blog.md>)

Topics: [build performance](<https://devfeed.tech/topics/build-performance.md>), [build times](<https://devfeed.tech/topics/build-times.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [build-performance](<https://devfeed.tech/tags/build-performance.md>), [build-times](<https://devfeed.tech/tags/build-times.md>), [bun](<https://devfeed.tech/tags/bun.md>), [ci](<https://devfeed.tech/tags/ci.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [npm](<https://devfeed.tech/tags/npm.md>), [pnpm](<https://devfeed.tech/tags/pnpm.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Docusaurus 3.6 introduces the opt-in Docusaurus Faster infrastructure project, using Rust-based tools to improve build performance and reduce memory consumption. Community benchmarks report production builds that are 2 to 4 times faster, alongside a fixed memory leak and smaller static HTML output.

### Source excerpt

We are happy to announce Docusaurus 3.6.

## Testing LeakCanary 3 heap-growth detection with the Slack Android app

DevFeed: [Testing LeakCanary 3 heap-growth detection with the Slack Android app](<https://devfeed.tech/articles/cutting-some-slack-for-leaks-and-giggles-25621.md>)

Original publisher: [Read original article](<https://blog.p-y.wtf/cutting-some-slack-for-leaks-and-giggles>)

Author: Pierre-Yves Ricau

Published: 2024-05-07T00:47:25Z

Content type: tutorial

Language: en

Sources: [Py's blog](<https://devfeed.tech/sources/py-s-blog.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [App](<https://devfeed.tech/topics/app.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Emulator](<https://devfeed.tech/topics/emulator.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [app](<https://devfeed.tech/tags/app.md>), [article](<https://devfeed.tech/tags/article.md>), [droidcon](<https://devfeed.tech/tags/droidcon.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [leakcanary](<https://devfeed.tech/tags/leakcanary.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [performance](<https://devfeed.tech/tags/performance.md>), [slack](<https://devfeed.tech/tags/slack.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The article describes a preview LeakCanary 3 toolkit that detects heap growth by comparing repeated heap dumps and tracking objects with increasingly many outgoing edges. It explains how to run the tool against the Slack Android app using an emulator and UI Automator, but the supplied text ends before the results are presented.

### Source excerpt

In this article I run the new LeakCanary toolkit against the Slack Android app. Read on to learn a bunch! A new LeakCanary toolkit In two months, I will give a talk at Droidcon SF: Cutting Edges: universal heap trimming with LeakCanary 3 At Square, ...

## Stressing the JVM GC on Android

DevFeed: [Stressing the JVM GC on Android](<https://devfeed.tech/articles/stressing-the-jvm-gc-on-android-28537.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/stressing-the-jvm-gc-on-android/>)

Author: Amanjeet Singh Gurtatta

Published: 2024-03-10T08:49:55Z

Content type: tutorial

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Java](<https://devfeed.tech/topics/java.md>), [Code](<https://devfeed.tech/topics/code.md>), [now-in-android](<https://devfeed.tech/topics/now-in-android.md>)

Tags: [adb](<https://devfeed.tech/tags/adb.md>), [android](<https://devfeed.tech/tags/android.md>), [android-vitals](<https://devfeed.tech/tags/android-vitals.md>), [anr](<https://devfeed.tech/tags/anr.md>), [fragmentation](<https://devfeed.tech/tags/fragmentation.md>), [gc](<https://devfeed.tech/tags/gc.md>), [java](<https://devfeed.tech/tags/java.md>), [leak](<https://devfeed.tech/tags/leak.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-performance](<https://devfeed.tech/tags/mobile-performance.md>), [now-in-android](<https://devfeed.tech/tags/now-in-android.md>), [outofmemory](<https://devfeed.tech/tags/outofmemory.md>), [performance](<https://devfeed.tech/tags/performance.md>), [stress](<https://devfeed.tech/tags/stress.md>), [stresstest](<https://devfeed.tech/tags/stresstest.md>)

### AI overview

This tutorial describes GCStress, a Java application that deliberately creates garbage-collection pressure through repeated random byte-array allocations and cache removals. It explains how to integrate it into Google's Now in Android app, trigger it with an Android broadcast and adb, and observe effects such as skipped UI frames, possible ANRs, and potential out-of-memory errors.

### Source excerpt

This post talks about a way to stress Java garbage collector.

## Investigating a Ruby Memory Leak in the HEY App

DevFeed: [Investigating a Ruby Memory Leak in the HEY App](<https://devfeed.tech/articles/my-adventures-hunting-down-a-ruby-memory-leak-33495.md>)

Original publisher: [Read original article](<https://dev.37signals.com/adventures-hunting-down-ruby-memory-leak/>)

Author: Jacopo Beschi

Published: 2024-03-07T18:00:00Z

Content type: tutorial

Language: en

Sources: [37signals Dev](<https://devfeed.tech/sources/37signals-dev.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [App](<https://devfeed.tech/topics/app.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [gc](<https://devfeed.tech/tags/gc.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [trace](<https://devfeed.tech/tags/trace.md>)

### AI overview

This article describes how a team investigated a slow Ruby memory leak in the HEY app. It covers analyzing Ruby heap allocation statistics, extracting heap dumps with rbtrace, enabling object allocation tracing, and comparing dumps over time while limiting the diagnostic impact to one app host.

### Source excerpt

What I learned on the journey chasing a tricky memory leak in HEY.

## Discovering iOS memory leaks: A case study with Firefox app II

DevFeed: [Discovering iOS memory leaks: A case study with Firefox app II](<https://devfeed.tech/articles/discovering-ios-memory-leaks-a-case-study-with-firefox-app-ii-28529.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/discovering-ios-memory-leaks-case-study-part-two/>)

Author: Amanjeet Singh Gurtatta

Published: 2024-02-24T11:22:22Z

Content type: article

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Firefox](<https://devfeed.tech/topics/firefox.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>)

Tags: [firefox](<https://devfeed.tech/tags/firefox.md>), [github](<https://devfeed.tech/tags/github.md>), [ios](<https://devfeed.tech/tags/ios.md>), [leak](<https://devfeed.tech/tags/leak.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [mobile-performance](<https://devfeed.tech/tags/mobile-performance.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

A case study of contributing a memory-leak fix to Firefox for iOS. The article describes the pull-request process, an initially unmerged approach, the eventual fix involving a UI kit retain cycle, and lessons about coordinating with open-source maintainers.

### Source excerpt

Discover my experience in contributing to Firefox ios fixing their memory leaks

## Choosing Good SLIs

DevFeed: [Choosing Good SLIs](<https://devfeed.tech/articles/choosing-good-slis-22991.md>)

Original publisher: [Read original article](<https://bravenewgeek.com/choosing-good-slis/>)

Published: 2024-02-19T21:11:17Z

Content type: opinion

Language: en

Sources: [Brave New Geek](<https://devfeed.tech/sources/brave-new-geek.md>)

Topics: [Cloud](<https://devfeed.tech/topics/cloud.md>), [monitor](<https://devfeed.tech/topics/monitor.md>), [on-prem](<https://devfeed.tech/topics/on-prem.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [devops](<https://devfeed.tech/tags/devops.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [latency](<https://devfeed.tech/tags/latency.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [on-prem](<https://devfeed.tech/tags/on-prem.md>), [ops](<https://devfeed.tech/tags/ops.md>), [service-level-agreements](<https://devfeed.tech/tags/service-level-agreements.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [sre](<https://devfeed.tech/tags/sre.md>)

### AI overview

The article explains why organizations moving from on-premises environments to the cloud should reevaluate their Service Level Indicators (SLIs). It argues that resource-focused metrics and operational patterns from data centers may be less useful in cloud environments, where autoscaling, autohealing, ephemeral instances, and different infrastructure characteristics can obscure application issues.

### Source excerpt

Transitioning from an on-prem environment to a cloud environment involves a lot of major shifts for organizations. One of those shifts is often around how we monitor the overall health of systems. The typical way to measure things like the availability, reliability, and performance of systems is with SLIs or Service Level Indicators. SLIs are a valuable tool both on-prem and in the cloud, but when it comes to the latter, I often see organizations carrying over some operational anti-patterns from their data center environment.

## OutOfMemoryError on Android: heap dump recording

DevFeed: [OutOfMemoryError on Android: heap dump recording](<https://devfeed.tech/articles/outofmemoryerror-on-android-heap-dump-recording-26142.md>)

Original publisher: [Read original article](<https://vadzimv.dev/2024/01/07/oom-android-heap-dump-recording.html>)

Author: Vadzimv Dev Blog

Published: 2024-01-07T11:00:00Z

Content type: tutorial

Language: en

Sources: [vadzimv Dev Blog](<https://devfeed.tech/sources/vadzimv-dev-blog.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Java](<https://devfeed.tech/topics/java.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Crashlytics](<https://devfeed.tech/topics/crashlytics.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [debugging-tools](<https://devfeed.tech/tags/debugging-tools.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>)

### AI overview

This tutorial explains how to automatically record a Java heap dump when an OutOfMemoryError occurs in an Android application. It covers heap-dump collection, uncaught-exception handling, Android storage, and subsequent analysis.

### Source excerpt

Learn how to record a Java heap dump at the moment of OutOfMemoryError.

## Discovering iOS memory leaks: A case study with Firefox app

DevFeed: [Discovering iOS memory leaks: A case study with Firefox app](<https://devfeed.tech/articles/discovering-ios-memory-leaks-a-case-study-with-firefox-app-28530.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/discovering-ios-memory-leaks-case-study/>)

Author: Amanjeet Singh Gurtatta

Published: 2023-12-25T21:07:16Z

Content type: tutorial

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>), [App](<https://devfeed.tech/topics/app.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [crashlytics](<https://devfeed.tech/tags/crashlytics.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [ios](<https://devfeed.tech/tags/ios.md>), [leak](<https://devfeed.tech/tags/leak.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [tool](<https://devfeed.tech/tags/tool.md>)

### AI overview

A case study on detecting and prioritizing memory leaks in iOS apps. It explains automatic reference counting, recommends prioritizing production leaks and monitoring core flows, and uses a Firefox iOS app with UI tests and the macOS leaks command-line tool.

### Source excerpt

Discover how to efficiently detect and manage memory leaks in iOS apps using the leaks command line tool with example

## Apollo Client 3.9 Feature Spotlight - The memory story

DevFeed: [Apollo Client 3.9 Feature Spotlight - The memory story](<https://devfeed.tech/articles/apollo-client-3-9-feature-spotlight-the-memory-story-23154.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-3-9-beta-feature-spotlight-the-memory-story>)

Author: Lenz Weber-Tronic

Published: 2023-12-20T16:02:32Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [cache](<https://devfeed.tech/tags/cache.md>), [feature](<https://devfeed.tech/tags/feature.md>), [issue](<https://devfeed.tech/tags/issue.md>), [leak](<https://devfeed.tech/tags/leak.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [spotlight](<https://devfeed.tech/tags/spotlight.md>)

### AI overview

Apollo Client 3.9 is released in beta with fixes for various memory leaks, more granular control over internal cache sizes, and deprecation of canonizeResults because of a conceptual, non-fixable memory leak. The article also asks users to help determine appropriate default cache sizes.

### Source excerpt

Apollo Client 3.9 is out in beta now, and it fixes various memory leaks, adds granular control over internal cache sizes, and deprecates the canonizeResults option due to a conceptual and non-fixable memory leak associated with it. We want your help to find the correct default cache sizes - see the last paragraph for details on that. The memory story Sometimes, in an open source project, you have that issue that sticks around for a long time because it's not clear how you would tackle it.

## How Android Memory Leaks Cause Jank, Freezes, and ANRs

DevFeed: [How Android Memory Leaks Cause Jank, Freezes, and ANRs](<https://devfeed.tech/articles/freezes-anrs-check-memory-leaks-25624.md>)

Original publisher: [Read original article](<https://blog.p-y.wtf/freezes-anrs-check-memory-leaks>)

Author: Pierre-Yves Ricau

Published: 2023-07-20T22:09:53Z

Content type: tutorial

Language: en

Sources: [Py's blog](<https://devfeed.tech/sources/py-s-blog.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [navigation](<https://devfeed.tech/topics/navigation.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [jank](<https://devfeed.tech/tags/jank.md>), [latency](<https://devfeed.tech/tags/latency.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [outofmemory](<https://devfeed.tech/tags/outofmemory.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

This article explains how Android memory leaks can cause jank, freezes, and ANRs rather than immediate crashes. It describes tracking memory usage per navigation, correlating memory growth with navigation latency, and how garbage collection blocking the main thread affects UI responsiveness near the app memory limit.

### Source excerpt

In this article, I show how Android memory leaks lead to jank, freezes and ANRs more often than they lead to OutOfMemoryError crashes. Navigation Latency At Square, we've been tracking a User-Centric performance metric: Interaction Latency. We track ...

## Avoid Java double brace initialization

DevFeed: [Avoid Java double brace initialization](<https://devfeed.tech/articles/avoid-java-double-brace-initialization-25619.md>)

Original publisher: [Read original article](<https://blog.p-y.wtf/avoid-java-double-brace-initialization>)

Author: Pierre-Yves Ricau

Published: 2023-06-27T20:58:00Z

Content type: tutorial

Language: en

Sources: [Py's blog](<https://devfeed.tech/sources/py-s-blog.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Code](<https://devfeed.tech/topics/code.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [crash-reporting](<https://devfeed.tech/tags/crash-reporting.md>), [gc](<https://devfeed.tech/tags/gc.md>), [global](<https://devfeed.tech/tags/global.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [java](<https://devfeed.tech/tags/java.md>), [leak](<https://devfeed.tech/tags/leak.md>), [leakcanary](<https://devfeed.tech/tags/leakcanary.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [object](<https://devfeed.tech/tags/object.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [subclass](<https://devfeed.tech/tags/subclass.md>)

### AI overview

This tutorial explains how Java double brace initialization can cause memory leaks. An anonymous HashMap subclass implicitly retains its outer Activity, so a breadcrumb stored by a singleton BugSnag client can keep a destroyed Android Activity in memory. The article recommends avoiding the pattern and using explicit initialization or Kotlin.

### Source excerpt

TL;DR Avoid doing this: new HashMap() {{ put("key", value); }}; Leak Trace I was recently looking at the following leak trace from LeakCanary: ┬─── │ GC Root: Global variable in native code │ ├─ com.bugsnag.android.AnrPlugin instan...

## God writes Haskell

DevFeed: [God writes Haskell](<https://devfeed.tech/articles/god-writes-haskell-30817.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/god-writes-haskell/>)

Published: 2023-06-02T22:00:00Z

Content type: opinion

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Haskell](<https://devfeed.tech/topics/haskell.md>), [quantum mechanics](<https://devfeed.tech/topics/quantum-mechanics.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>)

Tags: [arrays](<https://devfeed.tech/tags/arrays.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [haskell](<https://devfeed.tech/tags/haskell.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [programming](<https://devfeed.tech/tags/programming.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [quantum-mechanics](<https://devfeed.tech/tags/quantum-mechanics.md>), [type-system](<https://devfeed.tech/tags/type-system.md>)

### AI overview

A humorous commentary compares Haskell concepts--including lazy evaluation, immutability, linked lists, type checking, and memory retention--to ideas from quantum mechanics and the physical universe.

### Source excerpt

God famously does not play dice with the universe, but he seems to enjoy writing Haskell: Consider the wave-particle duality in quantum mechanics. Every particle behaves as a wave, as long as you haven't interacted with it. Thanks to Haskell's lazy evaluation values are also only evaluated once they are accessed (interacted with particles), and stay unevaluated thunks (waves) in the meantime. Two particles can be Quantum-entangled, so that their states depend on each other, even though the particles are seperated by any distance. In Haskell a value, whether it's evaluated yet or not, can also be shared and then used in a totally different location in the program without having to copy it. The value is even immutable, so that you can't change it from one location and thus influence the other. Similarly for entangled particles you can't manipulate one to change the state of the other particle, which might be far away and thus break the maximum speed of information. Since values are immutable they have to be cleaned up more often in Haskell than typically in imperative languages. GHC, the most commonly used Haskell compiler, allocates new data in a special area. Only after a supernova will the still-relevant data be ejected into the larger universe. Haskell beginners often use lists instead of arrays. You can't do random access in a linked list, but only access the first element and then the rest of the list. The real world also doesn't allow you random access, you are limited by the speed of light and have to go from one location to the next. Time also seems to be a linked list, not even doubly linked, since you can't go back after accessing the current element. Seems like an awkward bug. Since the Haskell type system is so good at catching bugs, you often feel like you don't even need to write tests. This is unfortunately untrue, as the strange physical bugs of our universe demonstrate: The speed of light happens to stay the same, no matter what speed you move at. Th

## Finding Java Thread Leaks With JDK Flight Recorder and a Bit Of SQL

DevFeed: [Finding Java Thread Leaks With JDK Flight Recorder and a Bit Of SQL](<https://devfeed.tech/articles/finding-java-thread-leaks-with-jdk-flight-recorder-and-a-bit-of-sql-18819.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/finding-java-thread-leaks-with-jdk-flight-recorder-and-bit-of-sql/>)

Published: 2023-02-28T21:16:10Z

Content type: tutorial

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [JDK Flight Recorder](<https://devfeed.tech/topics/jdk-flight-recorder.md>), [Java](<https://devfeed.tech/topics/java.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [java](<https://devfeed.tech/tags/java.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [jdk-flight-recorder](<https://devfeed.tech/tags/jdk-flight-recorder.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [performance-analysis](<https://devfeed.tech/tags/performance-analysis.md>), [root-cause-analysis](<https://devfeed.tech/tags/root-cause-analysis.md>), [sql](<https://devfeed.tech/tags/sql.md>), [thread](<https://devfeed.tech/tags/thread.md>), [threads](<https://devfeed.tech/tags/threads.md>)

### AI overview

This article explains how to investigate Java thread leaks with JDK Flight Recorder. It describes why thread leaks can cause memory and CPU problems, why thread dumps are limited, and how JFR events can reveal changing thread counts and the source of newly created threads.

### Source excerpt

The other day at work, we had a situation where we suspected a thread leak in one particular service, i.e. code which continuously starts new threads, without taking care of ever stopping them again. Each thread requires a bit of memory for its stack space, so starting an unbounded number of threads can be considered as a form of memory leak, causing your application to run out of memory eventually. In addition, the more threads there are, the more overhead the operating system incurs for scheduling them, until the scheduler itself will consume most of the available CPU resources. Thus it's vital to detect and fix this kind of problem early on.

[Next page](<https://devfeed.tech/tags/memory-leak.md?cursor=WyIyMDIzLTAyLTI4VDIxOjE2OjEwKzAwOjAwIiwgIjYxZGRjNDUxLTY2YTItNDE2Mi1hMDFhLTc3MjNhYjQ1ZGRjMSJd>)