Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Edited Unassigned: Out of Memory Error on a select few emails when downloading [1884]

$
0
0
I've noticed when I download anymore than "None" for one email in my Gmail account I get an out of memory error. The only weird thing about the email is the email has an 12.7KB attachment that is actually another email. The body of the email also appears to be empty. Also, the email appears to have been forwarded three times because it has the following subject.

"Fwd: Fw: Fwd: As only Clint can say it..."

Hopefully that helps you figure out what the error is.

Here is the stack trace. I'm running 2.0.0.15 pointing at Gmail.

Error: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ExpandByABlock(Int32 minBlockCharCount)
at System.Text.StringBuilder.Append(Char value, Int32 repeatCount)
at System.Text.StringBuilder.Append(Char value)
at ImapX.Parsing.BodyStructureParser.ReadQuotedString(Boolean trimSpaces)
at ImapX.Parsing.BodyStructureParser.ReadString(Boolean trimSpaces)
at ImapX.Parsing.BodyStructureParser.ReadLanguage()
at ImapX.Parsing.BodyStructureParser.ParsePart(Int32 number, Int32 level)
at ImapX.Parsing.BodyStructureParser.Parse(Int32 level)
at ImapX.Parsing.BodyStructureParser.Parse(Int32 level)
at ImapX.Message.TryProcessBodyStructure(String data)
at ImapX.Message.ProcessCommandResult(String data)
at ImapX.ImapBase.SendAndReceive(String command, IList`1& data, CommandProcessor processor, Encoding encoding)
at ImapX.Message.Download(MessageFetchMode mode, Boolean reloadHeaders)
at ImapX.Folder.Fetch(IEnumerable`1 uIds, MessageFetchMode mode)
at ImapX.Folder.Search(String query, MessageFetchMode mode, Int32 count)
at ImapX.Collections.MessageCollection.Download(String query, MessageFetchMode mode, Int32 count)
at TrainingDataBuilder.MainWindow.<>c__DisplayClassc.<btnFetchEmailIDs_Click>b__9() in c:\Users\Paul\Documents\GitHub\Algorithms\Algorithms\TrainingDataBuilder\MainWindow.xaml.cs:line 173

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>