Top "Memory-leaks" questions

A memory leak occurs when a program fails to release memory that it has allocated but is no longer using and is not recoverable.

In Linux, how to tell how much memory processes are using?

I think I may have a memory leak in my LAMP application (memory gets used up, swap starts getting used, …

linux unix memory-leaks memory-management
Implementing IDisposable correctly

In my classes I implement IDisposable as follows: public class User : IDisposable { public int id { get; protected set; } public string …

c# .net memory-management memory-leaks garbage-collection
java.lang.OutOfMemoryError: bitmap size exceeds VM budget - Android

I developed an application that uses lots of images on Android. The app runs once, fills the information on the …

android memory memory-leaks bitmap out-of-memory
AngularJS - Does $destroy remove event listeners?

https://docs.angularjs.org/guide/directive By listening to this event, you can remove event listeners that might cause memory …

angularjs memory-leaks
What strategies and tools are useful for finding memory leaks in .NET?

I wrote C++ for 10 years. I encountered memory problems, but they could be fixed with a reasonable amount of effort. …

c# .net memory-management memory-leaks
What is the best free memory leak detector for a C/C++ program and its plug-in DLLs?

I have a .exe and many plug-in .dll modules that the .exe loads. (I have source for both.) A cross-platform (…

c++ c visual-studio memory-leaks
Best way to increase heap size in catalina.bat file

I have tomcat 6 server on windows xp ,And I start tomcat through console i.e. using startup.bat. AFAIK catalina.…

tomcat memory memory-leaks tomcat6 heap-size
What Android tools and methods work best to find memory/resource leaks?

I've got an Android app developed, and I'm at the point of a phone app development where everything seems to …

android memory-leaks
Finding memory leaks in a C++ application with Visual Studio

In Linux, I have been using valgrind for checking if there are memory leaks in an application. What is the …

c++ visual-studio visual-studio-2010 memory-leaks valgrind