Free Support Forum - aspose.com

EndOfStreamException - Unable to read beyond the end of the stream AND Huge Memory consumption

Hi

I'm using the 64bit version of aspose.network for extracting properties and attachments from emails uploaded into SharePoint 2007.

The error below appears every time but it seems to "kind of" doing the job anyway - BUT it results in HUGE memory consumption for the worker process (going from 200K to 2-3G) for a mail with attachments ( ~600K attachment).

I'm struckling to nail down the reason for this behaviour but my fear is that it is the aspose component causing this!

ERROR:

Error ::: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt64()
at Aspose.Network.Outlook.Storage.x1ea60bde2b5d0d28..ctor(BinaryReader reader)
at Aspose.Network.Outlook.Storage.xd8c3135513b9115b.x5d95f5f98c940295(Stream xcf18e5243f8d5fd3)
at Aspose.Network.Outlook.MapiMessageReader..ctor(Stream stream)
at Aspose.Network.Outlook.MapiMessage.FromStream(Stream stream)

Regards ITC

Hi,


Could you please use the attached hotfix of Aspose.Network for .NET v5.5.0.1 and see if it works normally? We fixed some x64 platform related issues in this one.

As far as I can see - this contains only one dll - will it work on x64 platform - normally you have x64 in the properties of the dll?

Hi,


You may use the same attached dll on both x86 and x64 platforms. It will work on both.

I’m facing similar issue for any message using Aspose.Network for .net 3.5 (64bit). Can I get hotfix if any available?

Hi,

This issue was fixed previously. Could you please try with the latest release and see if it works for you?