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

outofmemory exception when run Globalsuite for 2D

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      solaris8 zh

      for Globalsuite testcase test/font-render/2d/two/DispTestWithBuffer.java

      get Globalsuite from /net/sqesvr.sfbay/export/i18n/i18n_merlin_ws/

      #run_gs.sh -jdk:<tested jdk home> test/font-render/2d/two/DispTestWithBuffer.java

      open the file 1.txt(attachment), then change it's size to 18, there will occure OutofMemory. when occure this problem, there still have over 30M physical mem for free.

      my system info:
      physical mem: 256M
      swap: 512M

      here is the state for that moment.

      coco% vmstat 1
       procs memory page disk faults cpu
       r b w swap free re mf pi po fr de sr dd f0 s0 -- in sy cs us sy id
       0 0 0 567416 61816 70 474 50 16 20 0 7 8 0 0 0 183 2304 199 5 5 89
       0 0 0 559704 151808 2 10 0 0 0 0 0 0 0 0 0 237 264 104 0 2 98
       0 0 0 559704 151808 0 1 0 0 0 0 0 0 0 0 0 189 339 109 0 2 98
       0 0 0 559696 151800 0 0 0 0 0 0 0 0 0 0 0 141 204 88 0 0 100
       0 1 0 559696 151792 33 410 216 0 0 0 0 27 0 0 0 281 1149 286 1 5 94
       0 0 0 559560 151456 0 0 0 0 0 0 0 0 0 0 0 160 410 133 1 0 99
       0 0 0 559560 151456 160 385 608 0 0 0 0 10 0 0 0 953 785 592 1 6 93
       0 0 0 558576 149216 224 444 848 0 0 0 0 1 0 0 0 1030 338 406 21 6 73
       0 0 0 545912 145736 201 441 800 0 0 0 0 2 0 0 0 1032 491 413 31 8 61
       0 1 0 545312 142136 54 282 688 0 0 0 0 9 0 0 0 956 600 536 42 6 52
       0 0 0 544800 139760 42 263 480 8 8 0 0 53 0 0 0 370 2123 581 45 6 49
       0 0 0 544688 137216 53 4 616 0 0 0 0 78 0 0 0 357 2383 457 19 8 73
       3 1 0 544328 135504 95 419 464 184 184 0 0 66 0 0 0 554 2922 611 41 16 43
       0 0 0 544104 134496 176 2697 112 0 0 0 0 12 0 0 0 923 23466 4300 24 58 18
       0 0 0 543296 133728 187 2501 8 0 0 0 0 1 0 0 0 860 3246 993 60 30 10
       0 0 0 529896 129256 74 1009 240 0 0 0 0 18 0 0 0 373 773 484 77 5 18
       0 0 0 526304 123984 57 665 392 0 0 0 0 6 0 0 0 631 725 547 66 3 31
       0 0 0 512472 119600 72 1211 80 0 0 0 0 5 0 0 0 475 1463 909 84 11 5
       0 0 0 508320 121544 67 1448 0 0 0 0 0 1 0 0 0 513 1731 1002 77 16 7
       procs memory page disk faults cpu
       r b w swap free re mf pi po fr de sr dd f0 s0 -- in sy cs us sy id
       0 0 0 511408 116624 70 1478 104 0 0 0 0 0 0 0 0 575 1495 856 76 14 10
       0 0 0 510544 112264 332 553 2880 0 0 0 0 53 0 0 0 800 841 842 37 10 53
       1 0 0 510440 113552 1229 1328 9776 0 0 0 0 94 0 0 0 476 899 794 53 9 38
       0 0 0 510336 112160 11 149 704 0 0 0 0 28 0 0 0 802 1129 667 36 6 58
       0 0 0 509920 110672 73 114 1424 0 0 0 0 77 0 0 0 573 2234 763 38 5 57
       0 0 0 509656 109192 64 78 936 0 0 0 0 116 0 0 0 436 3052 751 51 7 42
       0 0 0 509200 107192 80 234 600 0 0 0 0 64 0 0 0 442 3725 999 49 4 48
       0 0 0 509040 105280 116 269 528 0 0 0 0 17 0 0 0 758 2005 988 50 6 44
       0 1 0 508968 104920 22 40 64 0 0 0 0 125 0 0 0 518 1337 640 5 5 90
       0 0 0 508968 104616 7 18 256 0 0 0 0 93 0 0 0 578 524 503 2 0 98
       3 0 0 508704 103176 60 189 432 0 0 0 0 21 0 0 0 617 5122 1371 53 9 38
       0 0 0 507720 102232 0 123 0 0 0 0 0 0 0 0 0 333 3018 705 19 12 69
       0 0 0 507720 102232 0 0 0 0 0 0 0 0 0 0 0 399 642 512 1 2 97
       0 0 0 507720 102224 0 1 8 0 0 0 0 1 0 0 0 329 800 523 1 2 97
       0 0 0 507688 102208 0 2 8 0 0 0 0 1 0 0 0 413 1253 599 1 6 93
       0 0 0 507688 102208 0 12 0 0 0 0 0 0 0 0 0 383 20441 3869 16 22 62
       0 0 0 507688 102200 0 1 0 0 0 0 0 0 0 0 0 422 1634 654 4 1 95
       0 0 0 507656 102152 2 6 0 0 0 0 0 0 0 0 0 375 1399 599 1 12 87
       0 0 0 507664 101840 21 45 136 0 0 0 0 16 0 0 0 391 6910 1557 26 3 71
       procs memory page disk faults cpu
       r b w swap free re mf pi po fr de sr dd f0 s0 -- in sy cs us sy id
       0 0 0 507664 101840 0 0 0 0 0 0 0 0 0 0 0 405 718 525 0 0 100
       1 0 0 507664 101824 2 2 0 0 0 0 0 0 0 0 0 362 1267 614 3 1 96
       0 0 0 507664 101824 0 0 0 0 0 0 0 0 0 0 0 282 673 502 0 1 99
       0 0 0 507664 101824 0 0 0 0 0 0 0 0 0 0 0 252 555 476 0 2 98
       0 0 0 507664 101824 0 0 0 0 0 0 0 0 0 0 0 212 461 459 0 0 100
       0 0 0 507664 101816 0 1 8 0 0 0 0 1 0 0 0 224 979 524 3 1 96
       0 0 0 507664 101816 0 0 0 0 0 0 0 0 0 0 0 321 652 498 0 0 100
       0 0 0 507664 101816 0 0 0 0 0 0 0 0 0 0 0 444 926 554 1 2 97
       4 0 0 507664 101808 1 4 8 0 0 0 0 1 0 0 0 269 1188 579 10 5 85
       1 0 0 506872 100904 46 262 48 0 0 0 0 1 0 0 0 251 22534 7552 73 24 3 <--------------open that file
       0 0 0 448304 42536 9 7148 0 0 0 0 0 0 0 0 0 204 423 448 61 39 0
       1 0 0 448240 42440 2 13 0 0 0 0 0 0 0 0 0 200 33065 10209 70 30 0
       0 0 0 448232 42432 2 21 0 0 0 0 0 0 0 0 0 200 1461 730 4 2 94
       0 0 0 448232 42432 0 1 0 0 0 0 0 2 0 0 0 208 413 451 0 0 100
       0 0 0 448232 42432 0 1 0 0 0 0 0 0 0 0 0 203 464 466 0 3 97
       0 0 0 448232 42432 0 0 0 0 0 0 0 0 0 0 0 201 414 450 0 0 100
       0 0 0 448232 42432 0 0 0 0 0 0 0 0 0 0 0 239 568 483 1 0 99
       0 0 0 448232 42432 0 0 0 0 0 0 0 0 0 0 0 277 872 540 1 0 99
       0 0 0 448184 42400 0 4 0 0 0 0 0 12 0 0 0 458 1749 707 6 4 90
       procs memory page disk faults cpu
       r b w swap free re mf pi po fr de sr dd f0 s0 -- in sy cs us sy id
       0 0 0 448184 42384 1 30 8 0 0 0 0 22 0 0 0 387 1476 704 6 2 92
       0 0 0 448184 42384 0 96 0 0 0 0 0 0 0 0 0 437 1316 633 17 0 83
       0 0 0 448184 42384 0 2 0 0 0 0 0 0 0 0 0 274 911 545 1 0 99
       0 0 0 448184 42384 0 28 0 0 0 0 0 0 0 0 0 369 1386 629 7 2 91
       0 0 0 448184 42384 0 48 0 0 0 0 0 0 0 0 0 282 748 513 9 1 90
       2 0 0 448184 42384 0 48 0 0 0 0 0 0 0 0 0 320 853 527 8 1 91
       0 0 0 448184 42384 0 84 0 0 0 0 0 0 0 0 0 365 1063 585 16 2 82
       0 0 0 448184 42376 0 37 0 0 0 0 0 0 0 0 0 341 1190 588 9 1 90
       0 0 0 448184 42376 0 36 0 0 0 0 0 0 0 0 0 288 912 520 11 0 89
       0 0 0 448184 42376 0 72 0 0 0 0 0 0 0 0 0 410 1163 605 13 2 85
       0 0 0 448184 42376 0 60 0 0 0 0 0 0 0 0 0 380 1099 572 10 0 90
       0 0 0 448184 42376 0 72 0 0 0 0 0 0 0 0 0 381 1278 605 10 2 88
       0 0 0 448184 42376 0 66 0 0 0 0 0 0 0 0 0 401 1474 641 10 2 88
       0 0 0 448184 42376 0 15 0 0 0 0 0 0 0 0 0 394 1841 665 7 0 93
       0 0 0 448184 42376 0 87 0 0 0 0 0 0 0 0 0 371 1158 593 12 2 86
       0 0 0 448184 42376 0 36 0 0 0 0 0 0 0 0 0 412 1367 623 7 1 92
       0 0 0 448184 42376 0 2 0 0 0 0 0 0 0 0 0 298 924 534 0 0 100
       0 0 0 448184 42376 0 0 0 0 0 0 0 0 0 0 0 200 416 451 0 0 100
       0 0 0 448168 42360 0 4 0 0 0 0 0 0 0 0 0 323 1093 560 0 6 94
       procs memory page disk faults cpu
       r b w swap free re mf pi po fr de sr dd f0 s0 -- in sy cs us sy id
       0 0 0 448144 42336 0 5 0 0 0 0 0 0 0 0 0 378 783 532 1 1 98
       0 1 0 448144 42112 5 0 704 0 0 0 0 86 0 0 0 531 10373 674 8 9 83
       0 1 0 447992 41912 100 45 496 0 0 0 0 63 0 0 0 345 7495 2104 73 14 13
       0 0 0 447944 42096 91 6 360 0 0 0 0 45 0 0 0 291 13442 4143 84 16 0
       0 0 0 379224 41880 240 42 368 0 0 0 0 39 0 0 0 315 4217 1136 85 15 1 <-------------resize, the testcase quit
       0 0 0 559560 146376 37 52 24 8 8 0 0 81 0 0 0 335 2588 729 41 12 47
       0 0 0 559560 146376 0 0 0 0 0 0 0 0 0 0 0 130 138 75 0 0 100
       0 0 0 559560 146376 0 0 0 0 0 0 0 0 0 0 0 249 287 117 0 0 100

        Attachments

          Activity

            People

            • Assignee:
              dougfelt Doug Felt
              Reporter:
              lefan Leon Fan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: