Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-2009, 12:34 AM
Senior Member
 
Posts: 64
Default [SOLVED] zmmailboxd won't start after adding memory

When going from 6gb to 8gb memory I see this in

zmmailboxd.out:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

reverting back to 6gb for now, but I'd like to know how I get around this problem ?

How do I go about tweaking this so it will work ?

Regards

Jeroen
Reply With Quote
  #2 (permalink)  
Old 01-20-2009, 12:39 AM
Trained Alumni
 
Posts: 127
Default

Are you using a 32 bit OS ?
You didn't specify your ZCS version, in the old releases usinf tomcat the problem was related to the percentage of memory reserved to tomcat.
I think in jetty there is something similar...
__________________
http://www.seacom.it
Reply With Quote
  #3 (permalink)  
Old 01-20-2009, 12:40 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmlocalconfig -e mailboxd_java_heap_memory_percent=30
zmcontrol stop
zmcontrol start
__________________
Reply With Quote
  #4 (permalink)  
Old 01-20-2009, 12:53 AM
Senior Member
 
Posts: 64
Default

Thanks,

Can you explain to me what exactly the effect of this is ? I understand that If i allocate less memory in % it should function again, but why doesn't it work in the first place ?

Regards

Jeroen
Reply With Quote
  #5 (permalink)  
Old 01-20-2009, 12:59 AM
Moderator
 
Posts: 7,928
Default

Are you running 32 or 64 bit OS ? It is all down to the maximum addressable memory range.
__________________
Reply With Quote
  #6 (permalink)  
Old 01-20-2009, 01:07 AM
Senior Member
 
Posts: 64
Default

I am running 32bit at the moment.

heap is set at 40% right now, which would be 3276mb running at 8gb mem.

I thought i would be safe as long as i stay under 4gb ?
Reply With Quote
  #7 (permalink)  
Old 01-20-2009, 02:22 AM
Moderator
 
Posts: 7,928
Default

From what I have read I would try setting at 37%. Overheads etc.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.