AshitaXI / Ashita

Issue tracker and wiki for the Ashita project.
https://ashitaxi.com/
7 stars 1 forks source link

Too Many Open Files #38

Closed michealcell closed 1 year ago

michealcell commented 1 year ago

I get the error Too Many Open Files randomly about 3-5 times daily for different addons, such as minimap, mobdb, luashitacast, etc.

Screenshot 2023-04-05 090625

HealsCodes commented 1 year ago

First time seeing that one even for horizon, can you provide a list of all addons and plugins you are using with v4 as well as any extra tools you are running on your system? Does it also happen if you shutdown anything else you might be running besides the game?

michealcell commented 1 year ago

Screenshot 2023-04-07 202022

Got it today, I closed down almost all my programs. I had up Discord, Steam, Telegram, Razer's thing, and Chrome. As for addon's, my list is: /load addons /load screenshot /load Minimap /load PacketFlow /load thirdparty /addon load dynamic_entity_renamer /addon load allmaps /addon load aspect /addon load Checker /addon load drawdistance /addon load enternity /addon load fps /addon load instantah /addon load macrofix /addon load timers /addon load hxui /addon load noname /addon load chains /addon load fastcs /addon load luashitacast /addon load mobdb /addon load debuff

atom0s commented 1 year ago

Responded to this on Discord but will also reiterate the issue here. 'Too many open files' is due to the process hitting the open handle resource limit of Windows. This happens when the process has not properly free'd resources that cause a handle to remain open. This could be things such as opening a file (ie. fopen, CreateFile, etc.) or creating objects such as DIB sections, brushes, or other similar kinds of resources.

The following is what I could find in the above list of addons/plugins with minimal time to actually dig into things, so there could be other leaks that I missed:

atom0s commented 1 year ago

Given that these issues are not with Ashita itself, but with addons/plugins that are from thirdparty things, I am going to close this issue.