WinUSB crashes with Error 1450 "Insufficient system resources exist to complete the requested service"

522 Views Asked by At

i'm developing an Application in C++ for communicating via USB with a custom hardware based on a SAM-E70 which exchanges large amounts of data with the PC. While normally working fine, the WinUSB Driver will always crash after roughly two hours during a Transmission with Windows-Error 1450:

"Insufficient system resources exist to complete the requested service".

Visual Studio and the WinUSB Guide do not provide any information for this problem, so any idea is appreciated.

if (WinUsb_WritePipe(deviceData.WinusbHandle, list.Bulk.PipeOutId, bulk_tx_buf, 512, &bulk_tx_transferred, 0)) {
    //when transmission was successful, remove command from the stack
    command_list.pop();
}
else {
    DWORD err = GetLastError();
    callback_error("Error during transmission, Code: " + std::to_string(err));
    call_terminate = true;
}
0

There are 0 best solutions below