Open weak-head opened 6 years ago
Wikipedia states that SUA has been deprecated in Windows 8 and has been removed in Windows 8.1.
Looks like this is the reason why HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for Unix
DWORD entry called MaxOpenFiles
has no effect.
Is there any workaround for this or this is a limitation and there is not way to effectively use emacs-async
on Windows?
I rather think that emacs-async needs a way to throttle the number of async processes it will ever create at one time.
I have a little function advise that can be used to limit number of async processes. Share here if anyone need. https://gist.github.com/kiennq/cfe57671bab3300d3ed849a7cbf2927c
I have a little function advise that can be used to limit number of async processes. Share here if anyone need. https://gist.github.com/kiennq/cfe57671bab3300d3ed849a7cbf2927c
I was running into exactly this issue with your emacs-k scoop build @kiennq - on Windows 10 insiders developer channel (build 21382.1).
The code you have shared certainly helps with melpa updates, but it looks like I'm now running into the same issue with the native-compilation async compilation processes.
P.S. I ran into this code snippet which shows how to limit the number of compilation processes: https://ddavis.io/posts/emacs-native-centos7/#deferred-and-asynchronous-compilation (you have to prepend native-
to the variables) and now emacs-k s eems to be running.
Thank you!
After enabling asynchronous compilation
I'm having
Too many open files
for clean initialization from scratch:Emacs 25.3.1, win10 enterprise