aspose file tools*
The moose likes Other Java Products and Servers and the fly likes heap size hosting plan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "heap size hosting plan " Watch "heap size hosting plan " New topic
Author

heap size hosting plan

Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
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

Joined: Oct 14, 2008
Posts: 1337
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

Joined: Oct 13, 2010
Posts: 52
thanks Lester
Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
To be more specific i may have 50k users daily(not concurrent).so 128MB heap would be enough??
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
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

Joined: Oct 13, 2010
Posts: 52
thanks again Lester
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: heap size hosting plan