em Client crashes (Out of memory)

Hi, I am currently trying em client (30 day trial). Unfortunately I am experiencing some problems.

I am getting out of memory exceptions frequently:

21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/
21:53:08 [email protected] [POP3] Connecting: To [email protected]
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/undefined
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
21:53:08 at System.IO.StreamReader.Init(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
21:53:08 at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
21:53:08 at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
21:53:08 at MailClient.Protocols.Pop3.Pop3ReceiveCommand.Connect(WorkerStatus status)
21:53:08 at MailClient.Protocols.Pop3.Pop3ReceiveCommand.Execute(WorkerStatus status)
21:53:08 at MailClient.Commands.Command.Process(WorkerStatus status)
21:53:08 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
21:53:08 at System.IO.StreamReader.Init(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
21:53:08 at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
21:53:08 at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
21:53:08 at MailClient.Protocols.Pop3.Pop3ReceiveCommand.Connect(WorkerStatus status)
21:53:08 at MailClient.Protocols.Pop3.Pop3ReceiveCommand.Execute(WorkerStatus status)
21:53:08 at MailClient.Commands.Command.Process(WorkerStatus status)
21:53:08 [email protected] [IMAP] Synchronizing messages: For folder [email protected]/Sent
21:53:08 [email protected] [IMAP] Synchronizing messages: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/Sent
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing messages: For folder [email protected]/Trash
21:53:08 [email protected] [IMAP] Synchronizing messages: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/Trash
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing messages: For folder [email protected]/Drafts
21:53:08 [email protected] [IMAP] Synchronizing messages: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/Drafts
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing messages: For folder [email protected]/Notes
21:53:08 [email protected] [IMAP] Synchronizing messages: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/Notes
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/INBOX
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done
21:53:08 [email protected] [IMAP] Synchronizing subfolders: For folder [email protected]/undefined.Trash
21:53:08 [email protected] [IMAP] Synchronizing subfolders: Done




eM Client (7.0.27943.0)
Windows: Microsoft Windows NT 10.0.14393.0, Framework: 4.0.30319.42000
The following error has occurred:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---\> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.BinaryReader.ReadBytes(Int32 count)
at System.Runtime.Serialization.Formatters.Binary.\_\_BinaryParser.ReadArrayAsBytes(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.\_\_BinaryParser.ReadArray(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.\_\_BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, \_\_BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.\_LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at MailClient.Branding.eM\_Client.Branding.get\_application()
at MailClient.UI.GUITrayIcon.UpdateNotifyIcon()
at MailClient.UI.GUITrayIcon.<activateapplication>b__23_0()<br>

--- End of inner exception stack trace ---<br>

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)<br>

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)<br>

at System.Delegate.DynamicInvokeImpl(Object[] args)<br>

at MailClient.Common.UI.Marshalling.SafeBeginInvoke(Control control, Delegate method, Object[] parameters)<br>

at MailClient.UI.GUITrayIcon.ActivateApplication()<br>

at MailClient.UI.GUITrayIcon.notifyIcon_MouseClick(Object sender, MouseEventArgs e)<br>

at System.Windows.Forms.NotifyIcon.OnMouseClick(MouseEventArgs mea)<br>

at System.Windows.Forms.NotifyIcon.WmMouseUp(Message&amp; m, MouseButtons button)<br>

at System.Windows.Forms.NotifyIcon.WndProc(Message&amp; msg)<br>

at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.WndProc(Message&amp; m)<br>

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br></activateapplication>

The IMAP account contains only a few messages. (currently 6 small messages without attachments)

Also, there are some other usability issues, for which I might open another thread, if I decide to switch to em client.

Hello FK,

We’re sorry for the inconvenience, thank you for posting complete information. Could you please try to start with a new database and set the account up again? That means that your locally saved data will be lost, although if you have your data on the server(or make backups), it shouldn’t be a problem.
If eM Client can’t find the database folder in the default location (C:\Users\username\AppData\Roaming) with the default name (‘eM Client’), it will create a new one. In order to start with a new database, simply turn eM Client off and rename the ‘eM Client’ folder to e.g. ‘eM Client old database’.

If you have multiple accounts that would take a long time to set up, please go offline (Menu ->File ->Work Offline), export the account settings into xml (Menu->File->Export), start with a new database and import the settings into it.

Please let us know how it goes.

Thank you,
Maurice

Ok, I just did that. However, I am sceptical. Why should it be better now? It’s still the same software version.