2015-03-21 12:37 GMT+02:00 Антон Мацюк <denixx.bay...@gmail.com>: > 2015-03-21 2:06 GMT+02:00 Eric Robinson <eric.robin...@psmnv.com>: >>> Set this options to JVM, and it will make heapdumps automatically. >> Will these heap dumps be the same size as the current tomcat memory >> utilization? > Yeap, and OOM will guarantee that there is no garbage already in memory. > But there is one trick: for example, original file with heapdump have > 2031 MB in it, but .tar.gz "weights" only 202 MB. So just compress > heapdump, and it will be much smaller. One correction, option -XX:-HeapDumpOnOutOfMemoryError disables heapdumps on OOM, you should use -XX:+HeapDumpOnOutOfMemoryError - with plus sign, to enable it.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org