Memory Challenge

Put all the pieces together with this challenge to test your skills

5 minute read

The provided WorkshopService has an intentional memory problem, use the previous sections as reference to try to pin point it.


  • With the Dominator Tree (Eclipse MAT) determine what object would free up the most memory (if we could get rid of it)
  • With the Histogram (Eclipse MAT) determine what type of object has the most instances
    • Using the Incoming Objects view, find out what’s pointing to them.

Once you’ve found the large object, look through it’s properties and determine why this object holds on to so many other objects.


  Up Next

In the next section, we'll continue learn about Garbage Collection logs.

Garbage Collections