By Mary smith on Monday, 16 November 2026
Category: Popular

QuickBooks QBmapi64 Out of Memory Error: Causes and Fixes

The QuickBooks QBmapi64 Out of Memory error occurs when QuickBooks Desktop's email component cannot allocate enough memory to interface with Microsoft Outlook. The most effective fixes are repairing or reinstalling Microsoft Office, clearing the Office Document Cache, increasing Windows virtual memory, and updating QuickBooks Desktop to the latest release.

Introduction

You finish an invoice, select "Email," and instead of Outlook opening with the PDF attached, a dialog box appears: qbmapi64 has encountered an out-of-memory error. QuickBooks freezes, the email never sends, and your billing workflow stops cold.

This error is specific to QuickBooks Desktop. It does not affect QuickBooks Online, which sends invoices through browser-based email rather than a local Outlook integration. The qbmapi64 component is QuickBooks' 64-bit MAPI bridge—the piece that translates QuickBooks' email request into a format Outlook understands. When that bridge runs out of memory or encounters a version mismatch, the error appears.

The complication is that the causes vary by environment. A fresh Windows 11 install with Office 2021 behaves differently from an older Windows 10 machine with Office 365. Some users resolve it by clearing a cache; others need to change their Office installation from 64-bit to 32-bit. This guide covers the verified fixes in order of likelihood, with clear steps for each. 

What Is the QuickBooks QBmapi64 Out of Memory Error?

The qbmapi64 error is a runtime failure in the MAPI (Messaging Application Programming Interface) component that QuickBooks Desktop uses to communicate with Microsoft Outlook. When you email an invoice, estimate, or form from QuickBooks, the program passes the document to Outlook through this bridge. If the bridge cannot allocate sufficient memory or cannot find a required file, the operation fails, and QuickBooks reports the out-of-memory condition.

The error message is often misleading. "Out of memory" suggests your computer lacks RAM, but the actual cause is frequently a bitness mismatch between QuickBooks and Office. If QuickBooks Desktop is running as a 64-bit application and Office is installed as a 64-bit application, the MAPI bridge can fail to initialize correctly in certain configurations. Many users report that switching Office from 64-bit to 32-bit resolves the error entirely.

A separate variant of the qbmapi64 error appears as an "Entry Point Not Found" message referencing D3DCOMPILER_47.dll. This is a different failure—a missing or mismatched DLL dependency—and requires different fixes than the out-of-memory variant.

Common Causes and Symptoms

Office Bitness Mismatch

QuickBooks Desktop and Microsoft Office must communicate through a shared memory space. In some Windows 11 and Windows Server configurations, the 64-bit Office installation cannot establish that communication with QuickBooks' 64-bit MAPI bridge. Switching to 32-bit Office resolves the conflict for many users.

Symptom: The error appears immediately on every email attempt. Fresh installations are particularly susceptible.

Corrupted Office Document Cache

Microsoft Office maintains a cache of recent documents and email attachments. When this cache becomes corrupted or exceeds its size limit, QuickBooks' email requests can fail. The cache is stored locally and does not affect QuickBooks data, but it can block the MAPI bridge.

Symptom: The error appears intermittently. Some emails succeed; others fail with the same invoice type.

Insufficient Windows Virtual Memory

Windows allocates virtual memory (the page file) to supplement physical RAM. If the page file is too small or managed poorly, memory-intensive operations like emailing large invoices with attachments can exhaust available memory and trigger the error.

Symptom: The error appears more frequently when emailing large attachments or when multiple applications are open.

Outdated QuickBooks Desktop or Office Build

Both QuickBooks and Office receive updates that affect their integration components. A QuickBooks version that predates a known MAPI fix, or an Office build that introduced a regression, can produce the error. Microsoft and Intuit have released multiple updates addressing qbmapi64 compatibility, but users on mismatched builds may still encounter it.

Symptom: The error began after a recent update to QuickBooks or Office.

Third-Party Antivirus or Add-Ins

Security software and Outlook add-ins can interfere with the MAPI bridge. Avast has been specifically reported as a cause in some cases, and third-party Outlook add-ins (Adobe, CRM tools, email tracking) can conflict with QuickBooks' email calls.

Symptom: The error appeared after installing new security software or an Outlook add-in.

Quick Questions and Answers

Does this error affect QuickBooks Online?
No. The qbmapi64 error is specific to QuickBooks Desktop's Outlook integration. QuickBooks Online sends invoices through browser-based email and does not use local MAPI components.

Will I lose invoices if the email fails?
No. The invoice remains saved in QuickBooks. The error only affects the email transmission. You can print the invoice, save it as a PDF, or use webmail as a temporary workaround.

Is switching to 32-bit Office safe?
It is a common workaround, but consider the implications first. If you use other applications that require 64-bit Office (large Excel models, Power BI), switching may cause issues elsewhere. Test the change before committing.

Detailed Troubleshooting Solutions

Solution 1: Clear the Office Document Cache

This is the least disruptive fix and resolves the error for many users. It does not require reinstalling anything.

Step-by-step:

  1. Close QuickBooks Desktop and Outlook completely.
  2. Open Excel (any workbook or a blank one).
  3. Go to File > Options > Save.
  4. Scroll to the bottom of the Save options.
  5. Click Delete cached files under the Office Document Cache section.
  6. Change the "Days to keep files in the Office Document Cache" setting from 14 to 5.
  7. Click OK.
  8. Close Excel, reopen QuickBooks, and attempt to email an invoice.

If this does not work, proceed to the virtual memory adjustment in Solution 2.

Solution 2: Increase Windows Virtual Memory

If the cache clear does not resolve the error, Windows may be running low on memory during the email operation.

Step-by-step:

  1. Press the Windows key + R, type sysdm.cpl, and press Enter.
  2. Go to the Advanced tab.
  3. Under Performance, click Settings.
  4. Go to the Advanced tab.
  5. Under Virtual memory, click Change.
  6. Uncheck Automatically manage paging file size for all drives.
  7. Select your system drive (usually C:).
  8. Choose Custom size and enter an initial size and maximum size. A common recommendation is to set the initial size to 1.5 times your physical RAM and the maximum to 3 times.
  9. Click Set, then OK.
  10. Restart your computer and test the email function.

If this does not work, proceed to the Office repair in Solution 3.

Solution 3: Repair or Reinstall Microsoft Office

A damaged Office installation is a frequent cause. Repairing is faster than reinstalling and preserves your settings.

Step-by-step for repair:

  1. Open Control Panel > Programs and Features.
  2. Select your Microsoft Office or Microsoft 365 installation.
  3. Click Change.
  4. Select Quick Repair and click Repair. If Quick Repair does not resolve the issue, run Online Repair.
  5. Restart your computer after the repair completes.
  6. Open QuickBooks and test emailing an invoice.

If repair does not work, uninstall Office completely, restart, and reinstall. Several users report that a full uninstall and reinstall resolved the error when repair did not.

Warning: Before uninstalling Office, ensure you have your product key or Microsoft 365 credentials available. Back up any local Outlook data files (.pst or .ost) if you use POP/IMAP accounts.

Solution 4: Switch Office from 64-bit to 32-bit

If your Office installation is 64-bit and the error persists after repair, the bitness mismatch may be the root cause. This is a more involved change but has resolved the error for users on Windows 11 and Windows Server 2019.

Step-by-step:

  1. Note your current Office version and product key.
  2. Uninstall your 64-bit Office installation through Control Panel.
  3. Restart your computer.
  4. Download the 32-bit Office installer from your Microsoft account portal.
  5. Install 32-bit Office and activate it with your existing license.
  6. Open QuickBooks and test emailing an invoice.

If this does not work: Revert to 64-bit Office and proceed to Solution 5.

Warning: Switching to 32-bit Office may affect other applications that require 64-bit Office. If you use large Excel workbooks, Power Pivot, or Power BI Desktop with Office integration, test those workflows before committing to 32-bit.

Solution 5: Update QuickBooks Desktop and Disable Conflicting Software

If all previous fixes fail, ensure QuickBooks is on the latest release and rule out third-party interference.

Step-by-step:

  1. Open QuickBooks and go to Help > Update QuickBooks Desktop.
  2. Select Update Now, check Reset Update, and click Get Updates.
  3. Install any available updates and restart QuickBooks.
  4. Temporarily disable third-party antivirus (Avast has been specifically reported) and test emailing.
  5. If email works with antivirus disabled, add QuickBooks executables to your antivirus exception list.
  6. Check Outlook add-ins: go to File > Options > Add-ins, select COM Add-ins, and uncheck any non-essential add-ins. Restart Outlook and test.

If this does not work: Use webmail as a workaround. In QuickBooks, go to Edit > Preferences > Send Forms and switch from Outlook to webmail. This bypasses the MAPI bridge entirely.

Long-Tail Scenarios and Related Considerations

QBmapi64 Error After a Windows 11 Update

Windows 11 updates have been specifically linked to the qbmapi64 error, particularly on fresh installations. If the error appeared immediately after a Windows update, the Office repair (Solution 3) or bitness switch (Solution 4) is the most likely fix. If neither works, check whether the Windows update installed a new version of Office 365 that conflicts with your QuickBooks release.

QuickBooks Running Slow Alongside the Memory Error

If QuickBooks is running slow in addition to showing the qbmapi64 error, the two issues may share a cause: insufficient system resources. Increasing virtual memory (Solution 2) addresses both. For QuickBooks Online users experiencing slowness, the cause is different—browser cache, internet bandwidth, or system specifications—and requires browser-based fixes rather than Desktop troubleshooting.

Payroll and Email Interactions

If you are emailing pay stubs or payroll reports when the error appears, the same MAPI bridge is involved. QuickBooks Payroll Update Not Working errors are unrelated to qbmapi64, but if payroll operations are also failing, address the email error first—payroll reports cannot be emailed until the MAPI bridge is functional. For QuickBooks Online Payroll Not Working issues, the cause is browser- or account-related, not qbmapi64.

Distinguishing QBmapi64 from Other Error Codes

QuickBooks Error 392 is a Desktop data integrity error that appears during Verify Data. QuickBooks Error 1328 occurs during installation. QuickBooks Error 591 relates to American Express bank connections in QuickBooks Online. QuickBooks Error 2277 involves Intuit Data Protect backup failures. QuickBooks Error 1317 is a directory creation failure during installation. None of these share a cause with qbmapi64, and treating them as the same error wastes time.

Dropdown menus not working in QuickBooks is a separate interface issue, often resolved by updating QuickBooks or clearing the browser cache for Online users. It does not produce the qbmapi64 error.

QuickBooks Spreadsheet Sync Not Working is a QuickBooks Online Advanced feature issue, unrelated to Desktop MAPI errors. Print W-2 Forms in QuickBooks failures typically involve PDF converter or printer driver issues, not the email bridge. Cannot Print Invoices in QuickBooks is usually a print driver or PDF component problem, while qbmapi64 blocks emailing specifically.

QuickBooks Requires That You Reboot errors often appear after updates and may be resolved by the QuickBooks Tool Hub's repair utilities, which are separate from the MAPI fixes here. QuickBooks Migration Failed Unexpectedly errors occur during data transfer between computers and require backup and restore procedures rather than Office repairs.

QuickBooks Bank Feeds Not Working affects both Online and Desktop, with causes ranging from bank credential changes to server outages. It does not interact with the qbmapi64 error.

Prevention Tips and Best Practices

Keep Office and QuickBooks on compatible builds. Check for updates to both applications monthly. A mismatch between a new Office build and an older QuickBooks release is a common trigger.

Monitor your page file settings. If Windows manages virtual memory automatically, it usually works well. If you have manually configured it, review the size periodically.

Clear the Office cache quarterly. A small cache prevents corruption from accumulating. The cache clear takes under a minute.

Test email after any Office update. Before a critical billing day, send a test invoice to yourself to confirm the MAPI bridge is functional.

Back up your company file before any repair. If you plan to repair or reinstall Office, create a QuickBooks backup first through File > Back Up Company > Create Local Backup. Office repairs should not affect QuickBooks data, but the precaution costs nothing.

When to Seek Professional Assistance

Escalate when all fixes in this guide have been applied, and the error persists. If you are on a managed corporate network with Group Policy controlling Office installations, the bitness switch may require administrator approval. If the error affects multiple workstations simultaneously, the cause may be a network-level Office deployment issue rather than a local QuickBooks problem.

For a Free Consultation, call +1-888-718-7888.

Quick Questions and Answers (FAQs)

1. What does the qbmapi64 out of memory error mean?
It means QuickBooks Desktop's email component (the MAPI bridge) cannot communicate with Outlook due to a memory allocation or bitness conflict. It does not necessarily mean your computer has insufficient RAM.

2. Does this error affect QuickBooks Online?
No. The qbmapi64 error is specific to QuickBooks Desktop's local Outlook integration. QuickBooks Online sends invoices through browser-based email.

3. Will clearing the Office cache delete my emails or invoices?
No. The Office Document Cache stores temporary copies of recently opened files. Deleting it does not affect your actual emails, attachments, or QuickBooks data.

4. Why does switching Office to 32-bit fix the error?
Some 64-bit Office and QuickBooks configurations cannot establish the MAPI communication channel correctly. The 32-bit Office installation uses a different memory model that resolves the conflict for many users.

5. Can I still email invoices if I cannot fix the error?
Yes. Switch QuickBooks to webmail in Edit > Preferences > Send Forms. This bypasses the Outlook integration and sends invoices through your email provider's web interface.

6. Does antivirus software cause this error?
It can. Avast has been specifically reported as a cause. If the error appeared after installing or updating security software, add QuickBooks to the exception list or temporarily disable the antivirus to test.

7. How much virtual memory should I allocate?
A common recommendation is 1.5 times your physical RAM for the initial size and 3 times for the maximum. For a system with 8GB RAM, that would be 12GB initial and 24GB maximum.

8. Is the "Entry Point Not Found" qbmapi64 error the same as the out of memory error?
No. The Entry Point Not Found error references a missing DLL (D3DCOMPILER_47.dll) and requires copying the file from the Windows System32 folder to the QuickBooks installation folder. The out-of-memory error is a different failure.

9. How long does an Office repair take?
Quick Repair typically takes 5 to 10 minutes. Online Repair can take 20 to 30 minutes depending on your internet connection.

10. What should I do if none of the fixes work?
If cache clearing, virtual memory adjustment, Office repair, and the bitness switch have all failed, the issue may require Intuit or Microsoft investigation. Use webmail as a permanent workaround if the integration cannot be restored.

Conclusion

The qbmapi64 out of memory error is a communication failure between QuickBooks Desktop and Outlook, not a sign that your computer is running out of RAM. The fix sequence follows the bridge: clear the cache that may be corrupted, increase the memory Windows can allocate, repair the Office installation that provides the MAPI components, and—if necessary—change the Office bitness to match what QuickBooks expects.

The most common mistake is assuming the error means your computer needs more RAM. It rarely does. The second most common mistake is uninstalling QuickBooks, which does not address the Outlook-side cause. Work through the Office and Windows fixes first.

If the error persists after all steps, webmail is a reliable permanent alternative. It bypasses the MAPI bridge entirely and lets you continue billing without depending on the Outlook integration.

Author Bio: Brayan Jonas

Brayan Jonas is a QuickBooks Desktop specialist with over a decade of experience resolving email integration, connectivity, and performance errors for businesses ranging from single-user practices to multi-workstation accounting teams across North America, Europe, Asia, and Australia. He has diagnosed qbmapi64 failures caused by Office bitness conflicts, corrupted caches, and virtual memory exhaustion, and he trains finance teams on maintaining stable QuickBooks-Outlook communication. His approach prioritizes non-destructive fixes first and treats webmail configuration as a practical fallback when local integration cannot be restored.

Related Posts

Leave Comments