QuickBooks Error C 339

Let’s Dive in to see…

How to Fix QuickBooks Error C=339

QuickBooks Payroll Error PS060

QuickBooks C= Series Error · Memory / Message Queue

How to Fix QuickBooks Error C=339

QuickBooks displays an unrecoverable error with code C=339 — typically when system memory is exhausted during QB operations.

C=339 means memory is full and QB cannot send a required internal message. At QuickFix Bookkeeping, C=339 is distinct from most other C= errors because it is primarily a resource exhaustion error, not a company file corruption error. The fix is increasing available system memory or disk space rather than repairing the company file — though a bloated or oversized company file can trigger C=339 by demanding more memory than the system has available.

The QuickFix Bookkeeping Distinction — C=339 Is a Resource Error, Not File Damage

C=339 and C=88 are the two C= errors that can be caused by insufficient system resources rather than company file corruption. Both have hardware-side fixes that don't require file repair.

C=339 — this page

Memory full — QB cannot send internal messages. Fix: free RAM, free disk, close background apps, reduce company file size. Resource exhaustion, not corruption.

C=88

String table / B-tree failure — also caused by insufficient RAM. But C=88 can additionally indicate structural file damage. C=339 is more purely resource-based.

C=47, C=224

File corruption — existing data in the company file is damaged. Resource availability is not the cause. Rebuild and restore are the fixes, not freeing memory.

C=339 resource checklist — check before file repair: (1) Task Manager → Performance → Memory: if RAM usage is above 85% while QB is running, that's the cause. (2) Right-click C: drive → Properties → Free Space: QB needs significant free disk space for virtual memory and temp files. Less than 5GB free on the system drive frequently triggers C=339. (3) Close all other applications while running QB in high-memory operations (large reports, payroll processing). (4) If the company file is large (F2 → File Size over 150MB): Condense Data to reduce the memory footprint. If all resources are adequate and C=339 persists: run Verify Data to check if file corruption is also present.

What Causes QuickBooks Error C=339?

Insufficient RAM

Primary C=339 cause — QB's internal message queue can't allocate the memory needed to send a required inter-process message. This happens when available RAM is critically low — either because the system has insufficient physical RAM, or because too many applications are running simultaneously and consuming the available RAM. Freeing RAM by closing other applications, or adding physical RAM, resolves this cause.

Insufficient Disk Space for Virtual Memory

When physical RAM is exhausted, Windows uses disk space as virtual memory (page file). If the disk is also near-full, Windows can't expand the page file and the system effectively runs out of addressable memory — QB's message queue allocation fails with C=339. Free at least 5GB on the system drive to allow adequate virtual memory headroom.

Oversized Company File

Large company files (over 150–200MB) require significantly more RAM to open and process than smaller files. Operations that trigger C=339 most often — large report generation, payroll processing, backup — load large portions of the file into RAM. If the file is too large for the available RAM, C=339 appears during these operations. Condensing the file reduces its memory footprint.

Memory Leak from Long QB Session

QB Desktop can develop memory leaks during very long sessions — RAM usage grows gradually throughout the day as QB doesn't fully release all allocated memory between operations. C=339 may appear only at the end of a long session or after several hours of use. Restarting QB (and the server) at the start of each workday prevents accumulation.

Background Applications Consuming RAM

Antivirus scanning, Windows Update, browser with many tabs, backup software, and other background processes all compete with QB for RAM. On systems with less than 8GB RAM, any combination of these running simultaneously with QB can drive available RAM below what QB needs for its message queue, producing C=339.

Company File Corruption (Secondary)

If resource exhaustion is ruled out but C=339 persists, underlying company file corruption may be causing QB to repeatedly allocate and fail to release memory during its error recovery attempts. In this case, C=339 is a secondary symptom — run Verify Data to find the primary C= error causing the memory allocation failures.

How to Fix QuickBooks Error C=339

Free system resources first — C=339 is usually solved without touching the company file at all.

METHOD 1 Free RAM + Free Disk Space + Restart QB Primary C=339 fix — resource exhaustion
1

Free RAM: close all non-QB applications (browsers, email, PDF readers, etc.) → Task Manager → End Task on any non-essential processes. Restart QB and immediately retry the operation that triggered C=339. Free disk space: Windows + E → right-click C: → Disk Cleanup → clean up system files → delete temp files. Ensure at least 5–10GB free on the system drive.

2

Restart server + QB: fully restart the computer hosting the company file (flushes memory leaks) → restart QB → retry. If C=339 only appears after long QB sessions: establish a routine of restarting QB at the start of each workday to prevent memory accumulation.

METHOD 2 Condense Company File + Add RAM Large file or chronically low RAM
1

Condense: press F2 → note File Size. If over 150MB: File → Utilities → Condense Data → set a cutoff date (e.g., 3+ years ago) → run. This removes old transaction data, reducing the file's memory footprint significantly. Back up before condensing. Add RAM: if the server/workstation has less than 8GB RAM and hosts QB Desktop, adding RAM is the most effective long-term fix for recurring C=339. QB Desktop recommends at least 8GB on the hosting machine for medium-sized files, more for large files.

METHOD 3 Verify + Rebuild (if C=339 persists after resource fixes) File corruption driving memory allocation failures
1

After freeing resources and restarting: if C=339 still appears → File → Utilities → Verify Data → check QBWin.log for any other C= errors alongside C=339. If other C= codes appear (C=47, C=43, C=224): those are the primary corruption causing QB to fail memory allocations during error recovery → Rebuild Data → backup → run → Verify again. If C=339 appears alone: it's a pure resource issue — increase RAM or Condense the file.

Frequently Asked Questions

What "internal message" can't QB send when C=339 appears?
QB Desktop uses an internal message-passing system to coordinate between its different components — the database engine, the UI layer, the printing system, the payroll calculation engine, etc. Each message requires a small memory allocation from the system. When available memory is so low that even a small allocation fails, QB reports C=339 — "memory full, cannot send message." The specific message that failed isn't shown to users; QB just reports the category of failure (message queue exhaustion). The fix isn't to debug which specific message failed — it's to restore enough memory for QB's message system to function normally. This is why C=339 disappears completely when you close other applications and restart QB: the message queue can allocate normally again with the freed memory.

Related QuickBooks Errors

C=339 Recurring Even After Freeing Resources?

Let QuickFix Bookkeeping Diagnose the Underlying Cause.

Recurring C=339 after freeing RAM and disk usually means either a deeply oversized company file needs condensing, or underlying file corruption is causing repeated memory allocation failures that free resources alone can't fix.

Book a Free 30-Minute Consultation

No obligation. Same-day response.