Insufficient system resources exist to complete the file request

0xc000012d — Insufficient system resources exist to complete the file request The request exceeded the memory the process can reserve.

Why it happens

  • A large TIFF pyramid was opened in full
  • A page file is capped
  • A 32-bit reader was used

Steps that usually fix it

  • Open the file in tiles
  • Use a 64-bit reader
  • Raise or uncap the page file

If it comes back

Use 64-bit readers for pyramids and large scans.

If the same code appears after a Windows update, the driver and permission pages here are worth a read before you reinstall anything: drivers, error codes.

Checked 2026-10-05 — R. Okonkwo.

Before changing anything

The code above is what an application reports; it is not a diagnosis of what went wrong. Two checks are worth doing before permissions are touched: whether the file is on a volume the application can actually reach, and whether the file was moved or renamed since it was last opened. Both report as this code more often than a permission problem does.

Pages in this section describe the code as applications report it. Where a fix is listed here, it is one the library has seen work on a real file; where nothing has been confirmed, the page says so instead of guessing at a cause.