Looks like you have a message with a really large body or large text attachment. Do you know which message is causing the problem? If not, turn on debug logging for the zimbra.soap category and repro the OOME. This will log the GetMsg request, which has the message ID. I filed bug 30745 for this issue:
Bug 30745 - OOME when handling GetMsg