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

Out of Memory Error occurs when open and close applet in IE7 many times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0u12
    • deploy
    • x86
    • windows_xp

      Yokogawa test TC04-01 (attached with instructions how to run) throws the following exception after several hours run with Internet Ixplorer 7 (IE6 is OK for at least 24 hours):

      java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Exception in thread "thread applet-ArcTest.class" java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Unknown Source)
      at sun.awt.image.ImageFetcher$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.awt.image.ImageFetcher.createFetchers(Unknown Source)
      at sun.awt.image.ImageFetcher.add(Unknown Source)
      at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
      at sun.awt.image.InputStreamImageSource.addConsumer(Unknown Source)
      at sun.awt.image.InputStreamImageSource.startProduction(Unknown Source)
      at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
      at sun.awt.image.ImageRepresentation.prepare(Unknown Source)
      at sun.awt.SunToolkit.prepareImage(Unknown Source)
      at sun.awt.windows.WComponentPeer.prepareImage(Unknown Source)
      at java.awt.Component.prepareImage(Unknown Source)
      at java.awt.Component.prepareImage(Unknown Source)
      at java.awt.ImageMediaEntry.startLoad(Unknown Source)
      at java.awt.MediaEntry.getStatus(Unknown Source)
      at java.awt.ImageMediaEntry.getStatus(Unknown Source)
      at java.awt.MediaTracker.statusID(Unknown Source)
      at java.awt.MediaTracker.waitForID(Unknown Source)
      at java.awt.MediaTracker.waitForID(Unknown Source)
      at sun.plugin.util.GrayBoxPanel.getErrorImage(Unknown Source)
      at sun.plugin.util.GrayBoxPanel.setError(Unknown Source)
      at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)
      at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)
      at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)
      at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
      at sun.plugin.AppletViewer.showAppletException(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Exception in thread "Thread-68623" java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Unknown Source)
      at sun.applet.AppletPanel.createAppletThread(Unknown Source)
      at sun.applet.AppletPanel.init(Unknown Source)
      at sun.plugin.AppletViewer.createClassLoader(Unknown Source)
      at sun.plugin.AppletViewer.appletInit(Unknown Source)
      at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
      at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
      Exception in thread "Thread-68625" java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Unknown Source)
      at sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
      at sun.plugin.AppletViewer.initApplet(Unknown Source)
      at sun.plugin.AppletViewer.appletInit(Unknown Source)
      at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
      at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)


      Also Mem Usage in Windows Taks Manager is really huge, more than 1.5GB (of course, depends on machine)

            ccheung Calvin Cheung
            mbykov Misha Bykov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: