after tracing the app with jprofiler for several hours , I still cannot figure the problem. it seems that the app doesn't use a lot of memory. and it still run pretty well in my computer.and after it is deployed in the server, it crash.... the problem of the environment? but the tomcat on the server has been running for a really long time with out any problem.... what's the point?.oh no (°ο°)
2010/11/22 xu cheng <xcheng....@gmail.com> > by the way, > it doesn't throws this exception while running on my computer > it is only when the app is deploy on another computer that this problem > occur > > 2010/11/22 xu cheng <xcheng....@gmail.com> > > hi: >> thanks for replying >> the app is running on a powerful server and the memory is suppose to be >> enough >> I'll check if there is a memory leak,(althouth the app is suppose to use >> only a few memory) >> thanks >> >> 2010/11/22 Caldarale, Charles R <chuck.caldar...@unisys.com> >> >> > 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 >>> >>> >> >