Most voted "memory-leaks" questions
Using this tag for memory leakage problems, occurs when a portion of memory, allocated is not released when it is no longer needed.
Learn more…12 questions
Sort by count of
-
37
votes3
answers439
viewsHow to get a similar behavior between the Garbage Collection of a Single-Page Application and a Multiple-Page Application?
I’ve been doing a lot of research on the web and in stackoverflow communities, and I’m getting to the point of believing that Spas take almost no advantage of the GC algorithm of current browsers.…
javascript memory memory-management single-page-application memory-leaksasked 7 years, 6 months ago LeonanCarvalho 3,527 -
6
votes2
answers720
viewsCan memory leak occur in Java?
In the C language, for example, memory leaks are common because the responsibility for shifting memory lies with the programmer. In the example below (taken from Wikipedia) we can see a classic…
-
5
votes1
answer1683
viewsHow to identify and avoid memory Leak in . NET?
I know CLR has tools like Garbage Collection, responsible for memory management in .NET. One of the functions of the garbage collector, GC, is to avoid unnecessary memory consumption. Even with the…
-
5
votes1
answer167
viewsMemory overflow with mysqli_query
The following instruction stopped the program: $result = mysqli_query($db, 'SELECT * FROM base'); And returned the following error: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted…
-
4
votes2
answers145
viewsLeaking memory in PHP
Leaking memory or Leaky memory occurs when a computer program does bad memory allocation management such that memory that is no longer needed is not released. I’d like to understand how the Leaking…
-
2
votes3
answers633
viewsTdictionary, how to destroy it
I’ve tried every way to destroy TDictionary but whenever I have the ReportMemoryLeaksOnShutdown Active he always leaves something untouched. I’ve tried to run the list and destroy item by item.…
-
2
votes0
answers68
viewsHow to solve libxml2’s Leak memory problem?
I am making an application, but I am having problems with the Leak memory when I use libxml2, already removed all the code to isolate only libxml2 and still have the Leak memory error when I use…
-
1
votes3
answers343
viewsRelease object into a function - Memory Leak
I am starting in the world Datasnap and I came across a situation that I can not find solution. My code is on memory Leak, because I can’t release the objects. if I release the objects the access…
-
1
votes1
answer475
viewsWhat is the best way to clear your memory when using Lkjson in Delphi?
I’m having trouble wiping the memory data when I use Lkjson in Delphi. I tested using Freeandnil, Free, Destroy and Freeinstance. In some cases I get the following message when closing the…
-
0
votes0
answers54
viewsSqlite Leak without having any class using Sqlite
Good evening, everyone, I’m building an Android app and the last thing I need is to build the local bank. I built it but I realized that errors of memory appeared Eak, I thought I had fixed but the…
-
0
votes2
answers475
viewsTry/Catch: java.lang.Outofmemoryerror: Java heap space
I have a very serious problem in my web application, and after a lot of research, I found that the error java.lang.Outofmemoryerror: Java heap space Could be being caused by try/catch with catch…
-
0
votes1
answer105
viewsClear memory unused object
I have a set that contains millions of Strings and uses a lot of memory, the problem is that after I use it inside a foreach the memory used is not released, resulting in some executions of the…