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.

Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss

I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start …

java jboss memory-leaks heap
Increasing (or decreasing) the memory available to R processes

I would like to increase (or decrease) the amount of memory available to R. What are the methods for achieving …

r memory-management memory-leaks
performSelector may cause a leak because its selector is unknown

I'm getting the following warning by the ARC compiler: "performSelector may cause a leak because its selector is unknown". Here's …

ios objective-c memory-leaks automatic-ref-counting
Python memory leaks

I have a long-running script which, if let to run long enough, will consume all the memory on my system. …

python debugging memory-management memory-leaks
How do you detect/avoid Memory leaks in your (Unmanaged) code?

In unmanaged C/C++ code, what are the best practices to detect memory leaks? And coding guidelines to avoid? (As …

c++ c memory-leaks
Efficiently counting the number of lines of a text file. (200mb+)

I have just found out that my script gives me a fatal error: Fatal error: Allowed memory size of 268435456 bytes …

php file memory text memory-leaks
How to solve munmap_chunk(): invalid pointer error in C++

I have an application in C++ and OpenCV which tries to use the classification model realized with SVMLight in order …

c++ memory memory-leaks opencv
How to find a Java Memory Leak

How do you find a memory leak in Java (using, for example, JHat)? I have tried to load the heap …

java memory memory-leaks jhat
This Handler class should be static or leaks might occur: IncomingHandler

I'm developing an Android 2.3.3 application with a service. I have this inside that service to communicate with Main activity: public …

android memory-leaks static-classes android-lint android-handler
android activity has leaked window com.android.internal.policy.impl.phonewindow$decorview Issue

I am working with Android application to show network error. NetErrorPage.java package exp.app; import android.app.Activity; import …

android android-layout memory-leaks android-alertdialog