tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Camillo Granchelli" <>
Subject OutOfMemory on Tomcat webapp with awt use
Date Tue, 28 Sep 2004 09:32:40 GMT
I have a problem with this server configuration: 
- Server sun/solaris 5.8 Generic_108528-17 sun4u sparc 
- Apache 2.0.38 with mod_jk2 
- Tomcat 4.1.30 
- j2sdk1.4.2_05 Sun 

in pre-production environment. 
My webapp crashes also with few concurrent users when it 
uses awt for images generation on server side; the images are 
visualized to internet users by their requests. 
The server error (in catalina.out) is: 
Sep 27, 2004 4:33:11 PM 
SEVERE: Caught exception (java.lang.OutOfMemoryError) 
executing org.apache.jk.common.SocketConnection@d1e07c, 
g thread 
Could be a bug or known problem on use of awt classes on 
Unix Systems? 
Without image generation my webapp works fine. 
On MS NT system the same problem seems doesn't arise: it's possible? 

My command line for running java is: 
java -Xms256m -Xmx256m -Djava.awt.headless=true ...... 

Thanks in advance four your help. 

Best regards 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message