| Предыдущий | Следующий |
| ERROR_STACK_BUFFER_OVERRUN | ERROR_DEBUGGER_INACTIVE |
ERROR_PARAMETER_QUOTA_EXCEEDED
Что означает ERROR_PARAMETER_QUOTA_EXCEEDED
ERROR_PARAMETER_QUOTA_EXCEEDED — один из параметров содержит больше данных, чем функция способна обработать.
Что проверить
Определите конкретный ресурс из описания кода: память, квота, дескрипторы, место, размер или внутренний лимит компонента.
- Измерьте его фактическое использование в момент ошибки и найдите владельца потребления.
- Увеличивайте лимит только после подтверждения причины; если потребление растёт без возврата, сначала ищите утечку.
Исходная формулировка
one API parameter contains more data than the called Windows function is designed to process.
a nested description whose total encoded size exceeds an implementation limit
Inspect the called function’s parameter contract and any per-structure maximums. Recalculate lengths with checked arithmetic and verify whether they include headers, alignment, terminators, or nested buffers. Reduce one dimension at a time until the call succeeds; the boundary often identifies the constrained field.
integer expansion that makes the calculated byte length exceed the contract
Split the work into contractually valid batches, paginate enumeration requests, or redesign the representation so a single parameter does not carry unbounded state. Preserve ordering and transactional semantics across batches. Never truncate silently: callers must know which elements were omitted and whether partial execution occurred.
Технические ссылки
- Microsoft: System Error Codes (1000–1299)
- Microsoft: Retrieving the last-error code
- Microsoft: Windows data types
Нужно найти другой код? Найти другой код состояния или ошибки.