Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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
|