Getting MAPI error: 0x8007000E when processing large PSTs through CPP+COM application

Persistent Voltage 1 Reputation point
2021-02-02T12:28:30.923+00:00

Hi,

We are working on COM based application which takes outlook PST stored in a folder as input and modify/process each email from PST and then save the modified email message in to same PST again.
We have observed that every time when application modifies/processes around 13900 emails it starts throwing error 0x8007000E for MAPI APIs. When these errors start appearing, our application’s memory utilization is around 150 MB, handle count is around 700 and thread count is 23 to 25. Also there is enough memory(around 12 GB) and disc space(30GB+)available on system. We suspect that this error is specific to MAPI shared memory or resources.
Currently, to resolve this issue we need to restart the application and then then it modifies next 13900 (approx) emails and throws the same error, 0x8007000E.
• Is there any limit on MAPI resources being allocated to the single process?
• Are those allocated resources can be freed and reallocated for a process?
• Is there is any way to increase MAPI shared memory/resources allocated to process or system?
• Is there any tool to check MAPI resource leakage?

Application bit-ness: 64 bit
Virtual Machine details:
OS: Windows server 2016 standard
RAM: 14 GB
HDD: 120 GB

Let us know if you need more information about the issue.

Thanks.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,581 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
518 questions
0 comments No comments
{count} votes