Potential memory performance issues

In the previous sections, we discussed how to get and read different memory profiling results so that we can understand the memory map of our application. So far, we covered the following topics:

  • Reading and configuring GC logs
  • Reading and querying heap dumps using OQL
  • Reading memory profiling results

Now, it is time to see the sequence that we need to follow, what exactly we can get from dealing with each of these memory analysis options, and when to use each of them.

First of all, we need to check the allocated memory for our application and see whether or not it is enough based on the application's requirements, and the current memory utilization.

It is common to see memory issues if the allocated memory is not ...

Get Java EE 7 Performance Tuning and Optimization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.