Thanks to the Java Native Interface (JNI), Java applications can interact with native code. While memory allocations made by Java code are automatically managed by garbage collection, native code is responsible for its own memory …
Continue readingCategory: Uncategorized
Alternative to Visual Leak Detector
In this article, you will discover the limitations of a popular open-source library for detecting memory leaks, called Visual Leak Detector. Additionally, you will learn about an alternative to Visual Leak Detector, known as Deleaker. …
Continue readingHow to detect leaks in ISAPI DLL Written in Delphi?
In this guide, you will learn how to detect leaks in an ISAPI extension developed in Delphi. By using a sample ISAPI extension as an example, we will demonstrate how to utilize a memory profiler …
Continue readingFinding and Fixing Memory Leaks with GCC: A Comprehensive Guide for Developers
In this article, we will demonstrate how to identify and resolve memory leaks in C and C++ when using GCC as your toolchain. Contents Overview of Memory Leaks Existing Solutions for Memory Leak Detection Tool …
Continue readingAn extension to detect memory leaks in RAD Studio 12 Athens
Today, November 7th, 2023, Embarcadero announced the availability of RAD Studio 12 Athens. This new version of RAD Studio includes a plethora of great features, including enhanced code completion and navigation in C++Builder’s IDE, an …
Continue readingMemory leak detection in CLang
In this article, you will learn how to identify and resolve memory leaks in your C++ code when using CLang. What is CLang? Why is it vital to fix memory leaks in C++? How to …
Continue readingDelphi memory profiler
What is memory profiler? Memory leaks patterns in Delphi How to use a memory profiler? The benifits of a memory profiler What is memory profiler? Memory profiler is a type of software tool used in …
Continue readingMemory leaks in C++/CLI
How to fix memory leaks in C++/CLI? Contents Managed and unmanaged leaks in C++/CLI. Unmanaged leaks in C++/CLI. Conclusion. Appendix: What is the difference between managed and unmanaged allocations? Managed and unmanaged leaks in C++/CLI. …
Continue readingManaged memory leaks in .NET
Managed memory leaks in C# Contents Managed Memory Leak – the definition The Garbage Collector Event handlers – what to remember Event handlers – get the things right Managed Memory Leaks – How to detect …
Continue readingMemory leaks in Rust
Contents Stack and heap Ownership and borrowing Memory leaks and unsafe Rust Conclusion When we talk about memory in Rust, we first need to identify four main sections, each of which has a key impact …
Continue reading