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.

Dealing with "java.lang.OutOfMemoryError: PermGen space" error

Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's a typical Hibernate/JPA + …

exception memory-leaks out-of-memory java-6 permgen
How can I create a memory leak in Java?

I just had an interview, and I was asked to create a memory leak with Java. Needless to say, I …

java memory memory-leaks
What is a StackOverflowError?

What is a StackOverflowError, what causes it, and how should I deal with them?

memory-leaks exception-handling out-of-memory stack-overflow
Activity has leaked window that was originally added

What is this error, and why does it happen? 05-17 18:24:57.069: ERROR/WindowManager(18850): Activity com.mypkg.myP has leaked window com.…

android memory-leaks dialog
Resource leak: 'in' is never closed

Why does Eclipse give me the warming "Resource leak: 'in' is never closed" in the following code? public void readShapeData() { …

java eclipse input resources memory-leaks
Is there a good Valgrind substitute for Windows?

I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux …

c windows debugging memory-leaks valgrind
possible EventEmitter memory leak detected

I am getting following warning: (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit. …

node.js memory-leaks eventemitter
How to set the maximum memory usage for JVM?

I want to limit the maximum memory used by the JVM. Note, this is not just the heap, I want …

java memory memory-management memory-leaks profiling
What is private bytes, virtual bytes, working set?

I am trying to use the perfmon windows utility to debug memory leaks in a process. This is how perfmon …

debugging memory-leaks operating-system memory-management
How to find memory leak in a C++ code/project?

I am a C++ programmer on the Windows platform. I am using Visual Studio 2008. I usually end up in the …

c++ memory-leaks