About 210,000 results
Open links in new tab
  1. How to find a Java Memory Leak - Stack Overflow

    How do you find a memory leak in Java (using, for example, JHat)? I have tried to load the heap dump up in JHat to take a basic look. However, I do not understand how I am supposed to be able to fi...

  2. java - How to find memory leaks using visualvm - Stack Overflow

    Analysing memory leak using visualvm is not that easy. It has a tool/plugin called 'sampler'. This can be used to sample memory or cpu. You can take snapshot at regular interval and look for possible …

  3. How can I analyze a heap dump in IntelliJ? (memory leak)

    How can I perform memory analysis of this heap dump within IntellIJ IDEA? I know that there are tools for Eclipse and Netbeans but I would rather use IDEA if possible. The basic results of the analysis …

  4. Method for finding memory leak in large Java heap dumps

    Nov 4, 2016 · I have to find a memory leak in a Java application. I have some experience with this but would like advice on a methodology/strategy for this. Any reference and advice is welcome. About …

  5. java - how to test netty memory leak - Stack Overflow

    Apr 28, 2017 · To detect leak on my development environment, I have reduce the heap size to 12 MB with this vm argument: -mx12m Now with this, Netty is able to detect some leaks.

  6. Automated memory leak detection in Java - Stack Overflow

    Jul 19, 2011 · I was thinking about automated memory leak detection for a Java program. The basic algorithm is to create JUnits that contain the following logic: Call System.gc() several times …

  7. How can I create a memory leak in Java? - Stack Overflow

    Here's a good way to create a true memory leak (objects inaccessible by running code but still stored in memory) in pure Java: The application creates a long-running thread (or use a thread pool to leak …

  8. java - Hikari: Apparent connection leak detected - Stack Overflow

    Feb 18, 2022 · com.zaxxer.hikari.pool.ProxyLeakTask : Connection leak detection triggered for oracle.jdbc.driver.T4CConnection@48063c71 on thread taskExecutor-1, stack trace follows …

  9. java - Connection leak detected by HikariPool LeakDetectionThreshold ...

    Feb 27, 2020 · Here probably you have query (or something inside try clause) that takes longer than 3 seconds, and Hikari warns you about potential connection leak. So if you see such a warning, it …

  10. Detect if we have memory leak in Android studio - Stack Overflow

    Nov 29, 2018 · 2 There are different methods for checking Memory Leak in Android One of most famous is LeakCanary by square A memory leak detection library for Android and Java. “A small leak will …