I usually run few Java applications, one for server running locally and other for some IDE like NetBeans. And from time to time, after lots of redeployments, my server get stuck on OutOfMemoryException so I need to kill Java process in order to reboot.
So I do pkill -9 java but this also kills my running IDE which I don't want to.
One java process is running by my server.In the logs I found that my server restarts automatically ( logic is there that if the process killed, start automatically ). Here I don't know who is killing my java process.May be some script, or anything...not idea about it.
Is there any way to find out who is the process killer.