ResourceCacheDevice::AllocateHandle - failed to allocate file handle

I been having plenty of issues with the program, I crashes and get freezes extremely frequently so now I’m here posting whatever errors I get in hope they fix so I can actually play on a server. This crash happened when attempting to join a server. Here is what it said…

[Window Title]
FiveM Fatal Error

[Main Instruction]
FiveM has encountered an error

[Content]
ResourceCacheDevice::AllocateHandle - failed to allocate file handle

[Expanded Information]
Crash ID: 3926ea98-c7e6-4cfe-9943-9115600c0705

Ive been having the exact same problem, looking for a fix plz. It happens when I join a server it takes about 5 seconds, freezes than crashes. And once in a great while I get in the server, it crashes when I open up my map, or spwan in something.

Having the exact same issue here, only started showing up about a week or two ago.

same here
crashed while joining the server. also within 1-2minutes play

[Window Title]
FiveM Fatal Error

[Main Instruction]
FiveM has encountered an error

[Content]
ResourceCacheDevice::AllocateHandle - failed to allocate file handle

If you require immediate support, please visit FiveM.net and mention the details in this window.

[^] Details ausblenden [Schließen]

[Expanded Information]
Crash ID: 15a09535-9e5a-409d-a469-9686ccb6ab11 (use Ctrl+C to copy)

I had this exact same problem to. Allot of New scripts came out in past week and that pushed me over 61 Resources in my Auto start YML, So I started removing the old scripts I never used and got it down to 53 scripts in my Auto start YML and that fixed it. So maybe there is a CAP/Limit to how many scripts we can run. but like I said 61 got this error every time I tried to start the game , and the more shit I removed the better it got till it was gone. Hope this helps you guys.