Are you talking about the linux out-of-memory-killer? I don't know of a way to intercept the kill signal to have it dump java heap (there me be a way).
Why is your heap growing? Have you not set -Xmx == -Xms? St.Ack On Wed, Sep 16, 2015 at 9:54 PM, James Teng <[email protected]> wrote: > HI All, > > > first i have to say sorry, because this topic is not closely related to > hbase but jvm. Does jvm support or we can take other approaches to let the > jvm dump its memory when the process is being killed by OS due to the > memory increment, which brings a threat to the system crash. > > > we have get an system which occupies lots of memory, and because of that, > sometime this process is killed by OS. we want to record the memory profile > for further analysis when the system signals to kill this system process. > > > any idea is appreciated! thanks in advance. > > > uknow. > >
