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
Month: December 2021
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