• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

heap size hosting plan

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Lester
 
Jasvir Rupana
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks again Lester
 
reply
    Bookmark Topic Watch Topic
  • New Topic