OutOfMemory during Download

Hi,
using your library (Aspose.Email v.20.2 ) we’re encountering several out of memory exception.
We’re using dotnet 4.6.x

Message Exception of type ‘System.OutOfMemoryException’ was thrown. Exception of type ‘System.OutOfMemoryException’ was thrown. Exception of type ‘System.OutOfMemoryException’ was thrown.
Exception type System.OutOfMemoryException
Failed method #=z6TzmIggaYr6gD28pVgp0qCw4V2FSPqP3f6y2upE=.#=zTnjLbB_dvpie
Stacktrace:
Aspose.Email.AsposeException:
   at #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zQIySHl8= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zQIySHl8= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at Aspose.Email.Clients.EmailClient.#=zrFvXtYwHW3OC (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at Aspose.Email.Clients.Imap.ImapClient.EndFetchMessage (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at Aspose.Email.Clients.Imap.ImapClient.FetchMessage (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
Eccezione interna Aspose.Email.AsposeException gestita in #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zQIySHl8=:
   at #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zQIySHl8= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zrVjinww= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=z0q7AjdRA8xaY19y$lllz4DgshF4EWORkvR1DCyQ=.#=zAIsknUU= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=zClC9J2A$pHWLBxQf4PuCJvPYPewpHflSfA==.#=zQI0g6Nh7dLw8 (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
Eccezione interna System.OutOfMemoryException gestita in #=zTelfMkNy8zqdek00n_lfpJvqME0D.#=zQIySHl8=:
   at System.String.ReplaceInternal (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.String.Replace (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at #=z6TzmIggaYr6gD28pVgp0qCw4V2FSPqP3f6y2upE=.#=zTnjLbB_dvpie (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=z6TzmIggaYr6gD28pVgp0qCw4V2FSPqP3f6y2upE=.#=zTnjLbB_dvpie (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=z6TzmIggaYr6gD28pVgp0qCw4V2FSPqP3f6y2upE=.#=ztk21DsjX7Iyk (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
   at #=z6TzmIggaYr6gD28pVgp0qCw4V2FSPqP3f6y2upE=.#=zu9UzWV0= (Aspose.Email, Version=20.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)

@biagio_carratu_dedagroup_it,

I have observed the issue shared and request you to please try using latest Aspose.Email 20.3 on your end. In case there is still an issue then please share the working sample code and source file reproducing the issue.

Hi,
thanks, it’s resolved.

@biagio_carratu_dedagroup_it,

It’s good to know latest version have resolved the issue on your end.