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

GDI resource leaks too fast(much) in 5.0u7-b02 (WinXP japanese)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 5.0u10
    • 5.0u6, 5.0u7
    • client-libs
    • x86
    • windows_xp

      GDI resource of iexplorer leaks a lot, especially in WinXP(japanese) comparing with winXP(english)

      CONFIGURATION:
       OS : WinXP(SP2, Japanese and english)
       JRE : jre5.0u7
            java version "1.5.0_07"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b02)
            Java HotSpot(TM) Client VM (build 1.5.0_07-b02, mixed mode, sharing)
       CPU : PentiumIII 700[MHz]
       Mem: 256 MB

      REPRODUCE:
       1) Unfold the attached zip file(ArcTest)
       2) modify ArcTest\testcase\top.html adjusting to your directory structure.
       3) double click the Top.html
        IE windows appears
       4) Select "1.5.0_xx ArcTest" in pull down menu
       5) Set "5000" in t"Interval" textbox
       6) click "Launch" button
        "ArcTest" is opened and closed automatically

      HOW to measure GDI :
       1) Open "Task Manager".
       2) Click "process" tag
       3) select [view]-[select columns]
       3) check GDI Objects
       4) Watch the value in GDI objects column corresponding to "iexplore"(image name)

      RESULT:
       The followings are result after about 40 minutes runs in WinXP(Japanese)

      time(min) Num. of GDI
      -----------+----------------------------------------
         0 331
         5 390
        10 538
        15 708
        20 934
        30 1217
        35 1379
        40 1630
        45 1700

      On the ither hand, In WinXP(english).
      time(min) Num. of GDI
      -----------+----------------------------------------
         0 301
         5 311
        10 339
        25 371
        35 391
        40 297
        60 357
      ......
       12(hr.) 424
      The issue has been linked to using JP IME as default input language. It is reproducible even on EN XP, but with Asian languages installed and JP IME selected as default input language. If input is switched to English, there's no GDI leak.

            son Oleg Sukhodolsky (Inactive)
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: