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

JNI leaks local references on keeping a SourceLine open for long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.1, 1.4.0
    • client-libs
    • rc1
    • generic
    • generic



      Name: ay32066 Date: 04/21/2000


      On opening a SourceLine and sending it data continuously for about 20 minutes without pausing will cause the VM to crash with the following message:

      FATAL ERROR in native method: Out of memory when expanding local ref table
      beyond capacity
      at com.sun.media.sound.MixerThread.runNative(Native Method)

      To reproduce, create a source line for say 44100 Hz stereo, send 1000 bytes of data, sleep for 2 seconds, send another 1000 bytes of data, sleep , repeat.

      After about 20 minutes it runs out of space for local references.

      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: