| Previous | Next |
| SCARD_E_INVALID_TARGET | SCARD_F_WAITED_TOO_LONG |
SCARD_E_NO_MEMORY
SCARD_E_NO_MEMORY The smart-card subsystem could not allocate enough memory to complete the request. It can be caused by application pressure, a Resource Manager issue, or a driver problem; it does not necessarily mean that the card has no nonvolatile storage left.
How to narrow it down
- Record the API that failed and whether the condition appears only under load or also in a minimal PC/SC test.
- Release buffers returned through
SCARD_AUTOALLOCATEwithSCardFreeMemoryand release unneeded contexts promptly. - Inspect Smart Card service events and reader-driver stability before assuming a card hardware fault.
Microsoft: Smart Card Functions
Microsoft: SCardEstablishContext
Looking for a different code? Search another status or error code.