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 reading
Author: Artem Razin
Managed 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 reading
Memory 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
Memory leak detection tool for MinGW
How to find memory leaks in MinGW32 and MinGW64? In this article, we will show how to fix memory leaks in C++ if you use MinGW on Windows with the help of Deleaker, a memory …Continue reading
Debugging memory leaks with FastMM alternative
Developers often ask why they need memory profilers like Deleaker if FastMM catches leaks in Delphi very well. In this article, we will show the limitations of FastMM and cases when a memory debugger can …Continue reading
User Objects Leaks: How to detect and fix them?
User Objects Leaks detection tool. Leaks of User Objects can be hazardous. It is not easy to find using standard tools. This guide will show how to locate leaked objects and fix leaks. Contents What …Continue reading
How to fix leaks of handles? Contents What are the handle leaks? Is there a limit to a maximum number of handles? How to check if a process has handle leaks? Bonus: How to enumerate …Continue reading
GDI Leaks: How to identify and fix them?
GDI leaks detection tool Contents What are GDI leaks? How do I know if GDI objects are leaking? How to avoid GDI leaks? How do I monitor GDI objects? How do I fix GDI leaks? …Continue reading
How to detect memory leak in C/C++?
Detection memory leak in C++ What are memory leaks, and why are they dangerous? It’s no wonder, memory is limited like any other resource. 32-bit processes can allocate up to 2Gb; it is 8 TB …Continue reading
How to avoid memory leaks in C++?
How to prevent memory leaks in C++? Contents The reasons for memory leaks Smart pointers Virtual destructors Wrapping up The reasons for memory leaks Developers who have just started writing in C++ often ask how …Continue reading