Quote:
Originally Posted by TMH Another interesting observation that I have made:
In my zmsetup.log, there are a number of messages that go along these lines:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I asked in ##java on freenode, and apparently this means the virtual machine has a set size of memory that there wasn't enough space for. This is odd, as I have 1gb of memory on this machine.
Could the above messages mean that the installation did not actually proceed properly? It would make sense, given that it is mentioning modules that I did not select. |
I don't know if anyone helped with this, but I just got Zimbra running on a VPS and had the same problem as you.
The problem is that Java looks at the total memory in the machine, not just the amount allocated to your VPS/node. So you have to change the maximum memory to a smaller percentage (basically divide by the number of VPS on your node.) To find out the total amount of memory in your VPS use the command:
Chances are you will need to change the java memory limit (and MySQL) to around 10-15% to stay within allowable limits on your VPS.
I know there's not a lot of help out there for running Zimbra on VPS, I don't think it's quite caught on but I am up and running now at 126 users, all of whom are using the web client. (maybe 30-40 at a time max.)
I probably should have gone with a dedicated server, but we're non-profit and thus cheaper is better. ($70/mo vs. $200+/mo)
-n8