Re: [appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread david ruescas
I added a trace message, here's the value of javax.mail.internetMimeMessage.getContentType(): com.dr.reviewengine.MailServlet doPost: multipart content type text/plain; charset=ISO-8859-1 thankyou On 11/25/09, m seleron seler...@gmail.com wrote: Hi, I want you to teach the value of

[appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread Jeremy Blythe
You might be parsing a text/plain as a multipart. I've blogged about this here http://jeremyblythe.blogspot.com/2009/11/receiving-email-in-google-app-engine.html I think this is a bug in App Engine. On Nov 25, 3:42 pm, david ruescas fastn...@gmail.com wrote: I added a trace message, here's the

Re: [appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread david ruescas
It worked, cheers On 11/25/09, david ruescas fastn...@gmail.com wrote: Thank you Jeremy, that may indeed be it. I'll give it a try shortly Incidentally, what does your IOUtils.toString look like? Does it use an InputStreamReader combined with a StringWriter? Im using StringWriter sw = new

[appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-24 Thread m seleron
Hi, I want you to teach the value of [javax.mail.internetMimeMessage.getContentType() ] for confirmation. thanks. On 11月25日, 午前3:57, david ruescas fastn...@gmail.com wrote: When receiving email I get an out of memory error when calling getCount on the MimeMultipart object. Heres the stack