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

test java/awt/FullScreen/BufferStrategyExceptionTest/BufferStrategyExceptionTest.java fails on Suse

XMLWordPrintable

    • 2d
    • b26
    • x86
    • linux, linux_suse_sles_9.3
    • Verified

      the test fails wiht timeout because of OutOfMEmoryError (log is attached)
      I can reproduce the same issue with my test. I am running a fullscreen application on SuSE 10.0 which cycles through all the graphics configs and graphics devices. For each GC, it creates a frame, pushes it into FS mode and disposes the frame. When I monitored this through Jconsole, I found that the memory consumption is going steeply and garbage collection is not performed. Eventually it throws OutOfMemoryError after some loops.

      I tried to narrow down the problem and found that the problem disappears if I call setFullScreenWindow(null) before disposing the window. But If I don't call the above method and just dispose the window directly, there seems to be a memory leak. I reproduced it on SUSE 10 with Nvidia GeForce FX5900 and ATI Radeon 9600, both with the latest drivers installed. Reproduced with JDK7 as well as JDK6-FCS. I have attached my test to the bug report.

            campbell Christopher Campbell (Inactive)
            son Oleg Sukhodolsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: