Skip to Main Content
WildFly Performance Tuning - Third Edition
book

WildFly Performance Tuning - Third Edition

by Arnold Johansson, Anders Welén
June 2014
Intermediate to advanced content levelIntermediate to advanced
330 pages
7h 50m
English
Packt Publishing
Content preview from WildFly Performance Tuning - Third Edition

VM parameters in production

The following VM parameters should always be set in your production environment to log relevant information. Even if they come with a small price in terms of performance costs (mostly disk I/O), if they are not set, you have quite a challenge ahead of you to resolve any VM-related problems (memory, GC, and so on) in your applications.

verbose:gc

To retrieve basic memory details after each collection, add the following parameter:

-verbose:gc

The logged output looks like the following for a minor and major GC, respectively:

[GC 85310K->39093K(173056K), 0.0123160 secs]
[Full GC 39093K->25698K(173056K), 0.1902890 secs]

First, on each line, GC means that a minor GC is executed, whereas Full GC naturally means that a full or ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Wildfly Cookbook

Wildfly Cookbook

Luigi Fugaro

Publisher Resources

ISBN: 9781783980567