This is not an uncommon problem that you run into with all application servers. The easiest thing to do is to increase the amount of memory allocated to the JVM. Depending on your application, it is not uncommon to allocate between 512MB and 1GB of RAM for Java applications of any appreciable size. Make sure you leave enough RAM for the OS, however (about 256MB for Linux).
The other thing to consider before allocating memory, however, is whether your code is doing anything to cause this problem. In other words, are you caching objects/data that will continue to grow over time? If so, allocating more memory will help in the short term, but eventually you will have the problem again, and you really should concentrate on fixing the code. Using a profiler is the best way to monitor memory allocation in realtime. Christian On Thursday, April 3, 2003, at 04:12 AM, Schneider Andre wrote: > Hi there, > Can anyone explain me what this error message in the eventlog means: > > 04/03 10:42:38 error (jcp) jcp-38 caught Throwable while running, > exiting [java.lang.OutOfMemoryError] > java.lang.OutOfMemoryError > > If this happens the Webapplication doesn't responde anymore and > In the admin console of jrun the server the server which contains the > webapplication is stopped and > can't be started anymore unless i kill manually the jrun.exe and > javaw.exe process of this server. > > thanks a lot > > andre > > > ____________________________________________ > > Andre Schneider > web application engineer > > i-masco GmbH > -web your business- > > Moosstrasse 56 > 96050 Bamberg > Fon: 0951 / 30 28 95-17 > Fax: 0951 / 30 28 95-20 > > Mobil: 0179 / 50 34 63 5 > > > Internet: http://www.i-masco.com > Email: [EMAIL PROTECTED] > ____________________________________________ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
