What does Windows error code 331 (ERROR_TOO_MANY_DESCRIPTORS) mean?

 
Could be also:
ConstantTypeOS
SOC_SUBSYSTEM_FAILUREBugCheck CodeWindows
Previous Next
ERROR_BAD_DEVICE_PATH ERROR_SCRUB_DATA_DISABLED

ERROR_TOO_MANY_DESCRIPTORS

The device command contains too many descriptors

ERROR_TOO_MANY_DESCRIPTORS means a descriptor-based command exceeded the maximum count accepted by the device or protocol. Scatter/gather lists, ranges, and storage-management commands can encounter this limit.

Checks

  • Query the maximum descriptor count when the protocol exposes it.
  • Count descriptors after coalescing adjacent ranges.
  • Include header and version constraints in buffer sizing.
  • Test boundary values rather than only typical request sizes.

Fix

Split the operation into compliant batches and preserve ordering or atomicity requirements defined by the command. Simply enlarging the host buffer does not change the device limit.

References


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