tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Camillo Granchelli" <camillo.granche...@postecom.it>
Subject OutOfMemory on Tomcat webapp with awt use
Date Tue, 28 Sep 2004 09:32:40 GMT
Hi, 
I have a problem with this server configuration: 
- Server sun/solaris 5.8 Generic_108528-17 sun4u sparc 
SUNW,UltraAX-i2 
- 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: 
------------ 
java.lang.OutOfMemoryError 
Sep 27, 2004 4:33:11 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable 
run 
SEVERE: Caught exception (java.lang.OutOfMemoryError) 
executing org.apache.jk.common.SocketConnection@d1e07c, 
terminatin 
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 

cg


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message