• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

heap size hosting plan

 
Jasvir Rupana
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
heap size for tomcat hosting

Hi guys,
I am going to buy one hosting plan, but i am not sure that i shall go for heap size of 32 MB or more, is there any way out to figure out that current heap size is doing good for my wensite or not?? how to know that when my site needs dedicated server ??

also shared jvm hosting would be ok for me since i am just launching my website ?traffic will slowly increase
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It obviously depends on all the things you intend to do on that JVM, but I found a max heap size of 64MB too limiting, and chose 128; 32 sounds really small.

You can monitor a running web app/server using something like http://www.java-monitor.com/ (or http://code.google.com/p/psi-probe/ for Tomcat); that way you know what's going on with your JVM.
 
Jasvir Rupana
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Lester
 
Jasvir Rupana
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be more specific i may have 50k users daily(not concurrent).so 128MB heap would be enough??
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what those users are doing, and what they cause the code/server to be doing. It's certainly a size where you may have to consider a dedicated machine (or at least where you may want to consider one).
 
Jasvir Rupana
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks again Lester
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic