vite 启动时资源一直pending,console报styling 500k错误
How to change the registry values in Windows to increase ulimit settings.
Troubleshooting
Problem
How to change the registry values in Windows to increase the ulimit settings.
Resolving The Problem
Changing the "ulimit" settings on Windows involves making changes to the Windows registry.
(When making changes to the registry always ensure you have a backup prior to modifications)
To increase the "maxOpenFiles", follow these steps:
-
Log on with the "Administrator" id.
-
Click Start -> Run -> regedit.
-
Navigate the registry to the node as follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for Unix
-
If "MaxOpenFiles" exists, go to step 6.
-
If "MaxOpenFiles" does not exist, click Edit -> New -> DWORD value and type "MaxOpenFiles" for the name.
-
Double-click "MaxOpenFiles".
-
Change the base to Decimal.
-
Enter the value data (ex. 3000 for ulimit -n 3000).
-
Close Registry Editor.
-
Restart Windows.