• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet crashing abruptly

 
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using applet in my application. Now I am noticing that randomly applet is getting crashed. There is no specific point where it crashes, or specific operation after which it crashed.
After crash it generates an hs_err_pid..log file at the desktop. It mentions the following stuff :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80750C5
Function=[Unknown.]
Library=C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.

...............................
Current Java thread:
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Heap at VM Abort:
Heap
def new generation total 896K, used 627K [0x10020000, 0x10110000, 0x10500000)
eden space 832K, 72% used [0x10020000, 0x100b60d8, 0x100f0000)
from space 64K, 41% used [0x100f0000, 0x100f6b80, 0x10100000)
to space 64K, 0% used [0x10100000, 0x10100000, 0x10110000)
tenured generation total 9868K, used 6605K [0x10500000, 0x10ea3000, 0x14020000)
the space 9868K, 66% used [0x10500000, 0x10b734d8, 0x10b73600, 0x10ea3000)
compacting perm gen total 9984K, used 9918K [0x14020000, 0x149e0000, 0x18020000)
the space 9984K, 99% used [0x14020000, 0x149cfb38, 0x149cfc00, 0x149e0000)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Now one common thing I have noticed during all crashes is that perm gen is 99% or 98% at the time of crash (see the last line in above log).
Does that mean the perm gen is less or some other problem is there? And if memory at all is the reason, why am I getting EXCEPTION_ACCESS_VIOLATION and not some error of type OUT_OF_MEMORY_EXCEPTION ?

Thanks in anticipation
[ May 16, 2006: Message edited by: Varun Khanna ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic