java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.(String.java:215)
at java.lang.StringBuilder.toString(StringBuilder.jav a:430)
at com.zimbra.cs.mime.ParsedMessage.getMainBodyLucene Document(ParsedMessage.java:924)
at com.zimbra.cs.mime.ParsedMessage.analyzeNonBodyPar ts(ParsedMessage.java:428)
at com.zimbra.cs.mime.ParsedMessage.analyzeFully(Pars edMessage.java:454)
at com.zimbra.cs.mailbox.CalendarItem.getIndexDocumen ts(CalendarItem.java:380)
at com.zimbra.cs.mailbox.CalendarItem.generateIndexDa ta(CalendarItem.java:258)
at com.zimbra.cs.mailbox.IndexHelper.indexItemList(In dexHelper.java:828)
at com.zimbra.cs.mailbox.IndexHelper.indexDeferredIte msInternal(IndexHelper.java:354)
at com.zimbra.cs.mailbox.IndexHelper.indexDeferredIte ms(IndexHelper.java:274)
at com.zimbra.cs.mailbox.IndexHelper.maybeIndexDeferr edItems(IndexHelper.java:230)
at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.j ava:4697)
at com.zimbra.cs.mailbox.InitialSync.saveMessage(Init ialSync.java:1355)
at com.zimbra.cs.mailbox.InitialSync.syncMessagesAsTg z(InitialSync.java:1133)
at com.zimbra.cs.mailbox.InitialSync.syncMessages(Ini tialSync.java:1047)
at com.zimbra.cs.mailbox.InitialSync.syncMessagelikeI tems(InitialSync.java:423)
at com.zimbra.cs.mailbox.InitialSync.syncMessagelikeI tems(InitialSync.java:373)
at com.zimbra.cs.mailbox.InitialSync.initialFolderSyn c(InitialSync.java:280)
at com.zimbra.cs.mailbox.InitialSync.prioritySync(Ini tialSync.java:380)
at com.zimbra.cs.mailbox.InitialSync.initialFolderSyn c(InitialSync.java:314)
at com.zimbra.cs.mailbox.InitialSync.initialFolderSyn c(InitialSync.java:319)
at com.zimbra.cs.mailbox.InitialSync.resume(InitialSy nc.java:227)
at com.zimbra.cs.mailbox.InitialSync.resume(InitialSy nc.java:211)
at com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync .java:190)
at com.zimbra.cs.mailbox.ZcsMailbox.sync(ZcsMailbox.j ava:123)
at com.zimbra.cs.mailbox.ZcsMailbox.syncOnTimer(ZcsMa ilbox.java:104)
at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbo x.java:255)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)