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

OGL: Application crashes when running with opengl and a max heap size of 128 MB, Win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      I am running a 2D application on WinXP with opengl enabled. This application would bring up frame / dialog/ window one after the other and perform some Graphics rendering on it. Windows are created with different available GCs. With the default heap settings, everything runs normally. But when running with '-Xmx128m -Xms64m' and opengl enabled, the VM crashes when showing the Window. The system on which this was executed contains 512 MB RAM and it is a P2-2.40GHZ machine. It has Nvidia GeForce MX4000 video card with the latest driver (66.93). This is also reproducible on another system having NVidia GeForce MX440 video card.

      This is noticed on Mustang-b22 as well as Tiger-FCS.

      I have attached a sample test. Execute the sample test as follows:
      java -Xmx128m -Xms64m -Dsun.java2d.opengl=True CreateWindowMultiScreenTest
      You would see a frame showing all the renderings followed by a Dialog. If the VM crashes after dialog gets disposed, the bug is reproduced. (if not getting the first time, try running it couple of more times)

      NOTE:
      I tried debugging this using JConsole and the memory usage rises up to 10MB before the app crashes. If I click 'Perform GC' manually after frame's disposal or Dialog's disposal, the crash is not happening.
      ###@###.### 2005-2-10 11:46:35 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              campbell Christopher Campbell (Inactive)
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: