Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-228

Is ognl.OgnlRuntime some root cause of PermGen OutOfMemoryError problem?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • None
    • 4.0
    • None
    • RHEL 6 x64

    Description

      While analyzing several heap dumps using Yourkit, we have observed many instances of DelegatingClassLoader, or more precisely sun.reflect.GeneratedMethodAccessorXXX, where XXX represents some sequential numbers, were created through the usage of Java reflection by the frameworks implemented in our web application.
      GeneratedMethodAccessorXXX is allegedly used for some sort of reflection optimization mechanism according to the url at http://www-01.ibm.com/support/docview.wss?uid=swg21566549.
      Because this is what seems to be eating up our memory allocated for PermGen, as the number of the DelegatingClassLoader is gradually increased and JVM crushes with OutOfMemoryError, we scrutinized what is possibly blocking these DelegatingClassLoaders from being garbage collected and found many of them are relevant to _methodParameterTypesCache of ognl.OgnlRuntime.

      Is there any known problems regarding this issue?

      Attachments

        Activity

          People

            Unassigned Unassigned
            hanishi haruhiko nishi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: