jm + memory-leaks   2

How to change JVM arguments at runtime to avoid application restart
This is a super nifty feature of the JVM: turn on and off heap class histogram dumps at runtime, for instance.
java -XX:+PrintFlagsFinal -version|grep manageable
jvm  ops  switches  cli  java  heap-dumps  memory  debugging  memory-leaks 
june 2018 by jm
Debugging Java Native Memory Leaks (evanjones.ca)
Using jemalloc to instrument the contents of the native heap and record stack traces of each chunk's allocators, so that leakers can be quickly identified (GZIPInputStream in this case).

See also https://gdstechnology.blog.gov.uk/2015/12/11/using-jemalloc-to-get-to-the-bottom-of-a-memory-leak/ , https://github.com/jeffgriffith/native-jvm-leaks/blob/master/README.md .
debugging  memory  jvm  java  leaks  memory-leaks  leak-checking  jemalloc  malloc  native  heap  off-heap  gzipinputstream 
january 2017 by jm

Copy this bookmark:



description:


tags: