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

Persistently getting 'Exception in thread "AWT-EventQueue-44" java.lang.OutOfMemoryError: PermGen space' on samples applets.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • fx1.0.1
    • javafx
    • None

      Mac 10.5, Safari 3.1.2, with JavaFX 1.0, JavaFX 1.0.1 local appdeploy build.

      Encountered with both http://jfxsamples.sfbay.sun.com and mac local build, with http://dl.javafx.com/dtfx.js in index.html files altered with local javaws/dtfx.js.

      To reproduce, load samples applets, and try applets one after one, going trough all of them, repeating until OOME. For local build, happens consistently on second round on various applets; happend on PhotoFlips, PhotoEffects, LocalSearch for me.

      As a rule, with one time exception, it would not allow to copy/paste Java Console: does not paste. Attached the case I've been able to paste; OOME is the cause there. For other cases, it was original exception; here's sample:

      JNLPAppletLauncher: static initializer
      Exception in thread "AWT-EventQueue-44" java.lang.OutOfMemoryError: PermGen space
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      .. etc.
      originated from com.sun.javafx.runtime.adapter.Applet.launchStage(Applet.fx:105)

          

        1. DragAndDrop.html
          17 kB
        2. FXObjectStyleSupport.patch
          5 kB
        3. java.hprof.txt.DragAndDrop.gz
          1.77 MB
        4. javafxgui.patch2
          15 kB
        5. log.037.dragAndDrop
          1023 kB
        6. OOEM.log
          2 kB
        7. openjfx.patch2
          11 kB
        8. OutOfMemoryError.log4
          55 kB
        9. OutOfMemoryError-screenshot.jpg
          OutOfMemoryError-screenshot.jpg
          248 kB

            nyatsenk Nikolay Yatsenko (Inactive)
            nyatsenk Nikolay Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: