• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM usage  RSS feed

 
Jordan Smith
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
i built a web application - struts, based on JAVA.
i bought from the host company 32MB of JVM. how would i know if i need more JVM? would more JVM increase the speed? would it collapse if it reaches the top? so far it didn't collapse.
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try monitoring your application with JConsole and see if it uses more than 32MB. 32MB sounds awful small. I have a home server running Pebble on Tomcat. All it does is show pictures of my kids and it looks like it's using about 53Mb right now.
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can also install http://java-monitor.com in your JVM, since JConsole is kind'a hard to do over firewalls. The install is easy, just drop in the 30kB java-monitor.war into your Tomcat. Java-monitor even sends mail when your server goes down, so that is a free extra. :-)

I agree with Joe that 32MB is really tight. I would start at 128MB and work from there.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!