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

Memory leaks

A very common performance problem in software development is memory leaks. The creators and maintainers of the Java language have done a lot to minimize this problem by the garbage collection of released (set to null) and unreferenced object instances for example, but poor code can and will still create problems. When an OOME occurs and the problem is suspected to be due to a memory leak, it is time to start investigating the real cause(s).

The rule of thumb to identify a likely heap leak is as follows:

If the heap size usage keeps increasing for a while after each time a Full GC has executed, it implies a likely memory leak

For the best estimate, the same type and amount of operations should be performed iteratively during each cycle ...

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