Site icon EfmSoft

What does HRESULT 0xC800042D (hrVersionStoreOutOfMemory) mean?

 
Previous Next
hrInvalidCodePage hrCurrencyStackOutOfMemory

hrVersionStoreOutOfMemory

Where the operation crossed the contract

hrVersionStoreOutOfMemory means the version store cannot retain more transactional versions under current workload and limits.

This is the legacy Directory Service backup/restore HRESULT form of JET_errVersionStoreOutOfMemory (0xC800042D).

The key comparison is: hrOutOfMemory is general allocation failure; this code points to transaction-version pressure. The first useful observation is to capture MaxVerPages/PreferredVerPages, oldest transaction age, update rate, and session ownership. This evidence identifies the exhausted pool so a leak, long transaction, concurrency spike, and hard capacity limit are not confused.

Reconstruct the engine state

The ESE objects in play

Diagnostic layerbounded engine, process, and storage resources
Typical API surfaceinstance system parameters, sessions, cursors, temporary tables, database attachment, and file growth
Code-specific conditionthe version store cannot retain more transactional versions under current workload and limits
First corrective directionend or split long transactions, reduce update concurrency, and review version-store parameters

Long transactions can retain versions and indirectly amplify memory and log pressure. A retry without closing owners or adding capacity often repeats the same failure and increases load.

Repair without destroying evidence

  1. Freeze the failing request context and record 0xC800042D, the Jet API name, and the current instance/session ownership.
  2. Verify the code-specific precondition: capture MaxVerPages/PreferredVerPages, oldest transaction age, update rate, and session ownership.
  3. Apply the targeted fix: end or split long transactions, reduce update concurrency, and review version-store parameters.
  4. Before retrying the operation, reconcile resource counts, owner cleanup, and capacity after the correction.

Do not collapse these codes together

hrTooManySortstemporary sort resources are exhausted by concurrent or unreleased sort operations
hrCurrencyStackOutOfMemorycursor navigation state exhausted the engine resource used to preserve currency
hrTooManyOpenTablesthe workload exhausted open table/cursor capacity

Actions that can hide or worsen the problem

Technical references


Looking for a different code? Search another status or error code.

Exit mobile version