1、 Use  jstack pid > jstack.log  Saved thread stack site , Use  jmap -dump:format=b,file=heap.log pid  Save the heap site ;

https://mp.weixin.qq.com/s/4FXWlRdr1hMHVaqAy8p1SA

Step on the thunder carefully , once Java More related articles on memory leak detection

  1. once Java Memory leak checking process , Higher position

    Everyone makes mistakes , But some mistakes are so ridiculous , I can't figure out how anyone could make such a mistake . What's more unexpected is , This kind of thing happened to us . Of course , This kind of thing can only find out the truth after the fact . Next , I'm going to talk about a series of recent mistakes in one of our apps ...

  2. Java Summary of memory leak investigation

    Java Summary of memory leak investigation https://blog.csdn.net/fishinhouse/article/details/80781673( See next for missing picture ) Solutions to memory leaks ( Reprint )https:/ ...

  3. How to check Java Memory leak ? After watching, I knelt down !

    Inexperienced programmers often think that Java The automatic garbage collection of makes them completely free from memory management . This is a common misunderstanding : Although the garbage collector works well , But even the best programmers are likely to be the victims of memory leaks . Let me explain . When not ...

  4. java Several cases of memory leaks

    Reproduced in http://blog.csdn.net/wtt945482445/article/details/52483944 Java Memory allocation policy Java There are three kinds of memory allocation strategies at program run time , They are static ...

  5. Java Several possibilities of memory leak

    Java The cause of a memory leak : Memory leaks are useless objects ( Objects that are no longer in use ) The memory that continuously occupies memory or useless objects is not released in time , The waste of memory space is called memory leak . A long-lived object holding a reference to a short-lived object is likely to be ...

  6. java Location and analysis of memory leak

    1. Why memory leaks occur java  How to detect internal leakage ? We need some tools to test , And found a memory leak , Otherwise it's easy to happen down Machine problems . To write java The most convenient part of the program is that we don't need to manage the allocation and release of memory , ...

  7. java Memory leak

    java Memory leaks are mainly divided into two aspects : (1) The requested space in the heap has not been released (2) Object is no longer in use , But it's still in memory The following concentration conditions can cause memory leaks (1) The use of static sets hashmap and vector, static ...

  8. Chrome JS Memory leak troubleshooting method (Chrome Profiles)

      Original website :http://blog.csdn.net/kaitiren/article/details/19974269 JS Memory leak troubleshooting method (Chrome Profiles)   Google Ch ...

  9. Java Memory leak analysis and solution

    Java A memory leak is every Java Problems that programmers encounter , The program runs locally and everything is OK , But when deployed to the far end, there will be unlimited growth of memory , Finally, the system broke down , So how to test the stability of the program fastest and best , Prevent the system from collapsing , The author uses his own experience ...

Random recommendation

  1. git Study ( Four ): Undo modification and undo deletion

    There are two cases of revision Modify in the workspace but not add To temporary storage area git checkout -- <file> It's also modified in the workspace add To temporary storage area git reset HEAD <file> Withdraw first ...

  2. ERROR LazyInitializationException:19 - failed to lazily initialize a collection of role: com.goodfan.entity.BeanA.beanB, no session or session was closed

    1. problem , When using JSONArray.fromObject(List<BeanA>) when , beanA contains BeanB Properties of beanB when , Will report this mistake 2. terms of settlement : Use jsonconf ...

  3. C++ int And string The transformation of

    int It should also be represented by a string of characters , There are no double quotes around , Tell the compiler to interpret it as a number . By default , It's like 10 Base number (dec) To explain , If you want to use 8 Base number ,16 Base number , What do I do ? Add the prefix , Tell the compiler to interpret it according to different bases .8 Base number ...

  4. easyui datagrid columns field How to support one or more child attributes

    // If only one child attribute is needed from value set out {field:'customer',title:' Member mobile phone ',width:100, formatter: function(value,row,index){ ...

  5. android Caching of large images

    I don't say much nonsense , Go straight to the code package com.huge.emj.common.util; import java.io.File; import java.io.FileInputStream; i ...

  6. php call com Component configuration With openoffice For example

    What is? com Components ? COM Under Framework , People can develop a variety of feature specific components , And then put them together as needed , Make up a complex application system .COM And language , Platform independent features enable all programmers to make full use of their talents and expertise to write components ...

  7. filebeat -&gt; logstash -&gt; elasticsearch -&gt; kibana ELK Log collection build

    Filebeat Install the reference  http://blog.csdn.net/kk185800961/article/details/54579376 elasticsearch Install the reference http://blo ...

  8. ubuntu11.04 start-up And virtual file system

    Virtual file system (VFS) By Sun microsystems The company is defining the network file system (NFS) It was created when . It is a distributed file system for network environment , Is an interface that allows different file systems to be implemented with the operating system . Virtual file system (V ...

  9. POJChallengeRound2 Tree 【 Mathematical expectation 】

    Topic analysis : We make $G(x)$ Before presentation $x$ The average depth of a point ,$F(x)$ It means the first one $x$ The expected depth of a point . Yes $F(x) = G(x-1)+1$,$G(x) = G(x-1)+\frac{1}{x}$ So answer ...

  10. CentOS 7 build Squid proxy server

    Squid install Official address :http://www.squid-cache.org/ [root@DaMoWang ~]# -r6d8f397.tar.gz [root@DaMoWang ~]# -r6d ...