O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Different memory profiling options

In Chapter 2, Understanding Java Fundamentals, we discussed memory structure in JVM and identified the roles of many parts in the memory, typically in Java HotSpot VM memory.

In this chapter, we will discuss memory profiling and will mainly look into the following topics:

  • Memory utilization (free versus available space)
  • Allocated objects (size and locations)
  • Garbage collection activities (and GC pauses)
  • Memory snapshots and leaks (using heap dumps)

We will go through the preceding topics in this chapter, but let's first start with the different available profiling options in different profilers, as we did in the previous two chapters.

Memory profiling using NetBeans

After we start NetBeans IDE and select our HighCPU ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required