Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156937

Native Memory OOM error message is not clear enough

    Details

      Description

      The filer are observing lot of "java.lang.OutOfMemoryError : unable to create new native Thread" errors in production

      This OOM error can be caused with any of the resource limits getting exceeded that are defined in limits.conf file such as max-user-process limit (or) open-files limit, etc.

      So, it will be beneficial for debugging these native memory OOMs if this particular OOM error message clearly states the actual resource limit that trigged this error like for example, "java.lang.OutOfMemoryError : unable to create new native Thread: open-files limit exceeded"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shadowbug Shadow Bug
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: