From: Paul C. <cas...@au...> - 2004-03-31 05:19:30
|
Hi All, We've had problems with our JVM hanging from time to time. The Wrapper restarted it each time faithfully, which saved heartache and downtime. I started looking into the initial / maximum heap values, and while I couldn't find much info about how they relate to garbage collection, there were comments that suggested setting them to different values (rather than the same). I did this, and the JVM hasn't hung in the past 3 weeks - which is fantastic! Has this worked for anyone else - or is anyone else having JVM hanging issues? What I have noticed is that we are now getting INFO | jvm 1 | 2004/03/31 12:26:33 | java.lang.OutOfMemoryError followed by some ok INFO | jvm 1 | 2004/03/31 12:32:25 | Received a packet PING : ping INFO | jvm 1 | 2004/03/31 12:32:25 | Send a packet PING : ok DEBUG | wrapperp | 2004/03/31 12:32:25 | read a packet PING : ok DEBUG | wrapper | 2004/03/31 12:32:25 | Got ping response from JVM and then later followed by the JVM exiting with the following: INFO | jvm 1 | 2004/03/31 12:32:31 | An unexpected exception has been detected in native code outside the VM. INFO | jvm 1 | 2004/03/31 12:32:31 | Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x718872c4 INFO | jvm 1 | 2004/03/31 12:32:31 | Function name=Java_sun_awt_font_NativeFontWrapper_registerCompositeFont INFO | jvm 1 | 2004/03/31 12:32:31 | Library=D:\jdk1.3.1 _09\jre\bin\fontmanager.dll INFO | jvm 1 | 2004/03/31 12:32:31 | INFO | jvm 1 | 2004/03/31 12:32:31 | Current Java thread: INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.awt.font.NativeFontWrapper.drawStringIntDiscreteRaster(Native Method) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.java2d.loops.ICRDrawStringRasterContext.invoke(TextRendering.java:321) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.awt.image.BufferedImageGraphics2D.drawString(BufferedImageGraphics2D.java:1120) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2253) INFO | jvm 1 | 2004/03/31 12:32:31 | at rcis.render.MI002RNDBAnnotation.paint(MI002RNDBAnnotation.java:124) INFO | jvm 1 | 2004/03/31 12:32:31 | at rcis.render.MI002BackgroundRenderer.<init>(MI002BackgroundRenderer.java:253) INFO | jvm 1 | 2004/03/31 12:32:31 | at rcis.render.MI002Renderer.<init>(MI002Renderer.java:73) INFO | jvm 1 | 2004/03/31 12:32:31 | at rcis.map.MA001MemoryModel.getMapImage(MA001MemoryModel.java:249) INFO | jvm 1 | 2004/03/31 12:32:31 | at java.lang.reflect.Method.invoke(Native Method) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.rmi.transport.Transport$1.run(Transport.java:147) INFO | jvm 1 | 2004/03/31 12:32:31 | at java.security.AccessController.doPrivileged(Native Method) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.rmi.transport.Transport.serviceCall(Transport.java:143) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) INFO | jvm 1 | 2004/03/31 12:32:31 | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) INFO | jvm 1 | 2004/03/31 12:32:31 | at java.lang.Thread.run(Thread.java:479) Our application deals with GIS, which disperses GIF files to the clients, or generates postscript files for plotting, which is where the drawString is being used. Has anyone else experienced similar issues? This is one I'd like to rectify. PS: JDK 1.3.1_09 on Win2K Advanced Server. Regards, Paul Casanova |