File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes are there webapp size restrictions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "are there webapp size restrictions?" Watch "are there webapp size restrictions?" New topic
Author

are there webapp size restrictions?

Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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.


42
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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

Joined: Oct 12, 2000
Posts: 5093
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
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: are there webapp size restrictions?