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

Native-Memory-Leak while playing video

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      jigsaw-jre-9-ea+181_windows-x64_bin

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601] / Windows 7 64-Bit

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Intel Core i7 / 8 GB RAM / SSD / Intel HD 5500

      A DESCRIPTION OF THE PROBLEM :
      Java-Process leaks memory while playing video. For a Full-HD-Video (MP4) with 25 fps, the memory grows very fast up to 2 GB. Leak is related to native-memory as Java-VM is limited to 152m (-Xmx).
      The bug should have been fixed (see https://bugs.openjdk.java.net/browse/JDK-8167175 ), but it still occurs in my configuration.

      REGRESSION. Last worked in version 8u144

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Create a simple Media-View
      2. Add a media-player to media-view
      3. Stream from network or from file (Memory grows faster if media-file is larger!)
      3.2. Only one media-player is used
      3.1. In case of file-streaming, Media-Player is configured to repeat content infinitely
      4. Monitor memory by using TaskManager

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Memory should be on a moderate level as oberved when using VLC for streaming.
      ACTUAL -
      Memory grows to inacceptable level.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround found when playing with parameters.

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                flar Jim Graham
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: