• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

are there webapp size restrictions?

 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're creating a massive web application (literally hundreds of servlets and even more JSPs).

Is there an upper limit to the size of a web application in Tomcat (4.1 at the moment)?
I'm somewhat worried about our web.xml being (at the moment) over 2200 lines (77KB on disk) and growing rapidly.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is certainly an upper limit to the amount of memory a single JVM instance can get from the operating system, but no special limits that apply to web applications only. How much memory are you currently giving to Tomcat?
Bill
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not responsible for the server configuration, given the knowledge of the person who is I doubt it's changed much from the defaults (he's no Java expert, but a Unix and database person).

At the moment things are still working but seem to be slowing down a bit (which could well be because the harddisk is running out of space which I discovered earlier this week when the compiler complained about "disk full").
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your program is getting that big but still running with Tomcat defaults, no wonder it is slowing down.

You might stick in some memory monitoring code accessed by a password protected request. This is a great way to track your application remotely and need not be too complex. For example, I use this sort of "back door" to get a histogram of response times, post emergency messages to users ("system going down in 5 minutes!") and check other usage statistics.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!