> From: xu cheng [mailto:xcheng....@gmail.com] > Subject: OutOfMemoryError some time on some tomcat!!!!1
> the app works pretty well on my pc, and the tomcat > is apache-tomcat-6.0.29 > however , when I put this app on to another computer > with the same tomcat it throws this exception > Java HotSpot(TM) 64-Bit Server VM warning: Exception > java.lang.OutOfMemoryError > Exception in thread "http-8080-24" > java.lang.OutOfMemoryError: PermGen space 64-bit JVMs often require larger heap sizes than 32-bit ones. If the error occurs on the first deployment of the app, you may just need to configure a larger PermGen. However, if this error occurs only after redeploying your app some number of times, you likely have a memory leak. Use any of the widely available profilers or heap analysis tools to see just what is consuming memory. You can get some pointers here: http://wiki.apache.org/tomcat/FAQ/Memory - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org