InfoQ Homepage Memory Leaks Content on InfoQ
-
How Lyft Detects Android Memory Leaks in Production
While modern tooling for Android and iOS enable memory leak detection using local builds, this is not enough to guarantee an app shows correct memory behavior in production, where it runs on a wide range of devices in diverse conditions. For this reason, Lyft engineers combine A/B testing and memory observability to detect which features leak memory.
-
Facebook MemLab Helps Finding JavaScript Memory Leaks
While JavaScript runtimes use garbage collection to manage memory, this does not rule out the possibility of leaking memory. To detect all possible cases where memory is leaked, Facebook created and open-sourced MemLab, a tool able to run predefined, automatable test scenarios and analyze heapshot diffs.
-
Bloomberg Open-Sources Python Memory Profiler Memray
Developed at Bloomberg and now open source, Memray is a memory profiler that can track memory allocations in Python code, including native extensions and in the Python interpreter itself.
-
Infer# Brings Facebook's Infer Static Analyzer to C# and .NET
With Infer#, Microsoft extends the choice of static analyzers available within the .NET ecosystem by bringing Facebook Infer's inter-procedural static analysis capabilities to it.
-
C++ Core Guidelines will Help Writing Good Modern C++
As announced at CppCon, Bjarne Stroustrup and Herb Sutter have started working on a set of guidelines for modern C++. The goal of this effort is improving how developers use the language and help ensuring they write code that is type safe, has no resource leaks, and is as much as possible free of programming logic errors.
-
.NET Memory Profiling in Visual Studio 2013
Visual Studio 2013 comes with a better memory profiler for .NET applications, but it is still far behind the other commercial offerings.
-
JavaScript Memory Analyzer in Visual Studio 2012 Identifies Leaks in Windows Store Apps
Visual Studio 2012 Update 1 includes a new JavaScript Memory Analyzer for Windows 8 which identifies potential memory leaks to enable developers to fix their apps before submission to Windows Store.
-
Google Open Sources Leak Finder, a JavaScript Tool for Detecting Memory Leaks
Google has open sourced Leak Finder, a tool inspecting the heap of JavaScript applications in order to find memory leaks.
-
Weak Events in WPF 4.5
.NET 4.5 brings with it a generic version of WeakEventManager for WPF developers. In addition to not needing the event-specific subclass, this version also dispenses with the need for listener interfaces.
-
Three Hotfixes for WPF Memory Leaks
Windows Presentation Foundation is quickly becoming well known for the ease in which memory leaks are introduced. Most of these leaks seem to come from the use or misuse of weak references, upon which WPF’s data binding technology is based. In the recent set of hotfixes many of these leaks are fixed.
-
Dealing with Memory Leaks in .NET
Fabrice Marguerie, a software architect and consultant, wrote the article How to detect and avoid memory and resources leaks in .NET applications, published on MSDN. The article explains how memory and resource leaks can happen while programming for .NET and how to avoid them.
-
Serious Memory Leaks Plague WPF
WPF, also known as Windows Presentation Foundation, represents the future of UI on the Windows platform. And if Microsoft has its way, its younger sibling Silerlight will take over the web and mobile markets. But like any new technology, it has some issues to work through including some rather serious memory leaks.
-
Presentation: Conceptual Algorithms
In this talk from RubyFringe, Tom Preston-Werner talks about how he uses the scientific method for tracking down software problems. He demonstrates how he used this approach to track down a particularly sneaky memory leak in a Ruby app, and more.
-
JProbe 8.0: The Java code, memory, and coverage profiler is back
Quest Software recently released JProbe 8.0, a Java code, memory, and coverage profiler. While JProbe has been one of the leading Java profiling tools since the late 1990's, JProbe 8.0 aims to help Quest regain the leadership position in the profiling market with new Eclipse integration and a more competitive price point.
-
Review: Continous Performance Management
Steven Haines from Quest has published an article demonstrating the use of performance analysis tools in the continuous build cycle as best practice and makes some thought provoking points about the cost of not doing so.