Taking heap dump of java process on linux and windows

Taking a heap dump from console when Java VisualVM and JMX is not available to us. We will use following tools jmap jps ps Dumping heap requires two steps 1) Obtaining target process id 2) Dumping heap for given pid First we need to obtain the target process id we would like to dump, here I …

Taking heap dump of java process on linux and windows Read More »