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

java.lang.OutOfMemoryError trying to allocate JvmtiTagHashmapEntry* or JvmtiTagHashmapEntry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: tbd_minor
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      We have got a report from our customer who received the following
      messages profiling his application:

      LH> Exception java.lang.OutOfMemoryError: requested 16 bytes for CHeapObj-new. Out of swap space?

      and

      LH> Exception java.lang.OutOfMemoryError: requested 314572876 bytes for JvmtiTagHashmapEntry* in /BUILD_AREA/jdk1.5.0_03/hotspot/src/share/vm/prims/jvmtiTagMap.cpp. Out of swap space?

      (The entire message is quoted below.)

      Looks like massive object tagging causes a problem for an application
      with lots of objects.

      I found nothing in the JVMTI specification saying about possible
      limitation of the number of objects that can be tagged at a time. Is
      this a known problem? Is there a way to tweak JVM in command line to avoid the
      problem?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: