DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Java GC Monitoring With JVisualVM [Video]

Java GC Monitoring With JVisualVM [Video]

Learn best practices for maintaining your garbage collection and heap in Java, with tips for keeping your app tidy and prevent you from running out of memory.

Rohit Dhall user avatar by
Rohit Dhall
·
Dec. 28, 16 · Java Zone · Tutorial
Like (5)
Save
Tweet
9.29K Views

Join the DZone community and get the full member experience.

Join For Free

Java garbage collection is a very critical aspect of JVM runtime, and poorly performing GC can have adverse impacts on the performance of your java application.

In this presentation, we will take a deep dive into what GC is all about, what the JVM heap looks like, and how objects are moved from one area of the heap to another. We will use JVisualVM, a very useful tool for debugging java performance problems.

We will also have a demo where one sample application will be used to demonstrate how the heap and GC behave in a typical application. We will simulate two scenarios: first, where the application will keep allocating objects in memory. We will show how the heap comes under pressure over time and GC starts kicking in too frequently, which can impact the performance of the application.

In the second scenario, we will show how following best practices of objects referencing/un-referencing can save you from getting problems like OutOfMemory or too many GC cycles etc.

garbage collection Java (programming language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Streaming ETL with Apache Kafka in the Healthcare Industry
  • Creating an Event-Driven Architecture in a Microservices Setting
  • Container Orchestration Tools Comparison
  • Pattern Matching for Switch

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo