Got this an it's impossible to sync after resetting Zimbra Desktop so I could download all mail.


Failure communicating with remote server. Please try again later.

Debug message: Java heap space

Exception:

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.write(ByteArrayOutpu tStream.java:94)
at com.sun.mail.util.ASCIIUtility.getBytes(ASCIIUtili ty.java:256)
at javax.mail.internet.MimeMessage.parse(MimeMessage. java:335)
at javax.mail.internet.MimeMessage.(MimeMessage.java: 205)
at com.sun.mail.handlers.message_rfc822.getContent(me ssage_rfc822.java:98)
at javax.activation.DataSourceDataContentHandler.getC ontent(DataHandler.java:775)
at javax.activation.DataHandler.getContent(DataHandle r.java:522)
at javax.mail.internet.MimeBodyPart.getContent(MimeBo dyPart.java:630)
at com.zimbra.common.zmime.ZMimeBodyPart.(ZMimeBodyPa rt.java:81)
at com.zimbra.common.zmime.ZMimeMultipart.(ZMimeMulti part.java:57)
at com.zimbra.common.zmime.ZMimeMessage.(ZMimeMessage .java:110)
at com.zimbra.cs.mime.Mime$FixedMimeMessage.(Mime.jav a:120)
at com.zimbra.cs.mime.ExpandMimeMessage$ForkMimeMessa ge.onModification(ExpandMimeMessage.java:49)
at com.zimbra.cs.mime.TnefConverter.visitMultipart(Tn efConverter.java:165)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:223)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:213)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:236)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:213)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:236)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:213)
at com.zimbra.cs.mime.MimeVisitor.accept(MimeVisitor. java:176)
at com.zimbra.cs.mime.ExpandMimeMessage.expand(Expand MimeMessage.java:86)
at com.zimbra.cs.mime.ParsedMessage.init(ParsedMessag e.java:279)
at com.zimbra.cs.mime.ParsedMessage.initialize(Parsed Message.java:227)
at com.zimbra.cs.mime.ParsedMessage.initialize(Parsed Message.java:193)
at com.zimbra.cs.mime.ParsedMessage.(ParsedMessage.ja va:142)
at com.zimbra.cs.mime.ParsedMessage.(ParsedMessage.ja va:137)
at com.zimbra.cs.mailbox.CalendarItem.storeUpdatedBlo b(CalendarItem.java:2235)
at com.zimbra.cs.mailbox.CalendarItem.createBlob(Cale ndarItem.java:2301)
at com.zimbra.cs.mailbox.CalendarItem.create(Calendar Item.java:528)
at com.zimbra.cs.mailbox.Mailbox.createCalendarItem(M ailbox.java:6223)