A high number of classloaders of type sun.reflect.DelegatingClassLoader found in heap dump

Solution Verified - Updated -

Issue

  • A high number of classloaders of type sun.reflect.DelegatingClassLoader, which are used to load sun.reflect.GeneratedMethodAccessor classes, can indicate a potential large native memory footprint. When the application is running on Openshift, the pod could be killed with code 137.

Environment

  • OpenJDK
  • IBM JDK
  • OpenShift
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content