Hello again,


Im getting frequently the usual out of memory
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringEncoder.encode(String Coding.java:232)
<------>at java.lang.StringCoding.encode(StringCoding.java:27 2)
<------>at java.lang.StringCoding.encode(StringCoding.java:28 4)
<------>at java.lang.String.getBytes(String.java:986)
<------>at com.zimbra.common.mime.shim.JavaMailInternetHeader s.setHeader(JavaMailInternetHeaders.java:138)
<------>at com.zimbra.common.mime.shim.JavaMailMimeBodyPart.s etHeader(JavaMailMimeBodyPart.java:671)
<------>at com.zimbra.cs.service.mail.ParseMimeMessage.attach Part(ParseMimeMessage.java:835)
<------>at com.zimbra.cs.service.mail.ParseMimeMessage.handle Attachments(ParseMimeMessage.java:476)
<------>at com.zimbra.cs.service.mail.ParseMimeMessage.parseM imeMsgSoap(ParseMimeMessage.java:369)
<------>at com.zimbra.cs.service.mail.ParseMimeMessage.parseM imeMsgSoap(ParseMimeMessage.java:205)
<------>at com.zimbra.cs.service.mail.SaveDraft.handle(SaveDr aft.java:96)
<------>at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
<------>at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
<------>at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
<------>at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294)
<------>at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215)
<------>at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
<------>at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
<------>at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
<------>at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
<------>at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166)
<------>at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79)
<------>at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
<------>at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
<------>at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
<------>at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
<------>at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388)
<------>at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
<------>at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
<------>at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
<------>at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
<------>at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)


Obiviously its a scrambled message
ANd in the draft of the user im getting a 172mb message which is supposed to be 150k
Only a few PDF Attachments


So heres my question: is it possible that kida weird PDF can produce this error?

This is the only the user who can create this problem but it shutdown the hole server which is getting kinda problem - real problem.


So the real question is - anyway to prevent this?
Why isnt the mailboxservice restarting - isnt it supposed to be to restart if it fails?
Anyone else having similar issues ?


This zimbra server is the OSS 7.1.2
thanks in advance