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

Continually updating a AWT component will run out of X resource IDs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_2.5

      Description

      If an application continually paints to a component it will eventually
      fail with an error message:

      Xlib: resource ID allocation space exhausted!

      when run under the JDK-1.1.2 for Solaris.

      It would appear the problem is linked to creating and destroying
      Graphics objects on every repaint. Each graphics object probably
      is causing an Xlib GC to be created, and eventually Xlib runs
      out of resource ids.

      This is obviously a X11 / Solaris only problem.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: