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

Plugin2 : OutOfMemoryError while running some of the applets

XMLWordPrintable

    • b08
    • generic
    • windows

      Some of the applets are throwing "Exception in thread "AWT-EventQueue-4" java.lang.OutOfMemoryError: Java heap space" at thh time of loading or when applet is refreshed
      Scenario I:
      Try loading the following applet inside the browser, If on refreshing the page java.lang.OutOfMemoryError exception is getting thrown then bug is reproduced:

      http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_JDK7_int_ws/deployment/src/plugin/manual/html/MemoryTest.html

      Note: In this particular test we are defining a byte array, if we set array to null inside the destroy method then no exception is getting thrown.

      Scenario II: Load the following applet inside the browser, it will fail to load with java.lang.OutOfMemoryError exception getting thrown
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/security/ImageTest/JvmGifVulPoc1.html

            kbr Kenneth Russell (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: